diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-10-29 21:08:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-10-29 21:08:14 +0000 |
commit | bf2cdefc6aa13677f20e905ea345fd878ed4211a (patch) | |
tree | eaedef82fd964560bc626e2a5acdc887e12b2743 /libavcodec/aac_ac3_parser.c | |
parent | 2cdba8bfc43b818ca8037421c9a136fa89327c66 (diff) | |
download | ffmpeg-bf2cdefc6aa13677f20e905ea345fd878ed4211a.tar.gz |
Reset state after some frame header is found.
Fixes issue704
Originally committed as revision 15742 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac_ac3_parser.c')
-rw-r--r-- | libavcodec/aac_ac3_parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index 20a989767c..82d7c049d3 100644 --- a/libavcodec/aac_ac3_parser.c +++ b/libavcodec/aac_ac3_parser.c @@ -49,6 +49,7 @@ get_next: if(len<=0){ i=END_NOT_FOUND; }else{ + s->state=0; i-= s->header_size -1; s->remaining_size = len; if(!new_frame_start || pc->index+i<=0){ |