[FFmpeg-cvslog] r15742 - trunk/libavcodec/aac_ac3_parser.c
michael
subversion
Wed Oct 29 22:08:14 CET 2008
Author: michael
Date: Wed Oct 29 22:08:14 2008
New Revision: 15742
Log:
Reset state after some frame header is found.
Fixes issue704
Modified:
trunk/libavcodec/aac_ac3_parser.c
Modified: trunk/libavcodec/aac_ac3_parser.c
==============================================================================
--- trunk/libavcodec/aac_ac3_parser.c (original)
+++ trunk/libavcodec/aac_ac3_parser.c Wed Oct 29 22:08:14 2008
@@ -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){
More information about the ffmpeg-cvslog
mailing list