diff options
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){ |