This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Reset state after some frame header is found.
Fixes issue704 Originally committed as revision 15742 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
17 years ago
parent
2cdba8bfc4
commit
bf2cdefc6a
1 changed files
with
1 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/aac_ac3_parser.c
+ 1
- 0
libavcodec/aac_ac3_parser.c
View File
@@ -49,6 +49,7 @@ get_next:
if(len<=0){
if(len<=0){
i=END_NOT_FOUND;
i=END_NOT_FOUND;
}else{
}else{
s->state=0;
i-= s->header_size -1;
i-= s->header_size -1;
s->remaining_size = len;
s->remaining_size = len;
if(!new_frame_start || pc->index+i<=0){
if(!new_frame_start || pc->index+i<=0){
Write
Preview
Loading…
Cancel
Save