[FFmpeg-cvslog] r15381 - trunk/libavcodec/aac_ac3_parser.c
michael
subversion
Mon Sep 22 05:00:26 CEST 2008
Author: michael
Date: Mon Sep 22 05:00:26 2008
New Revision: 15381
Log:
Fix all the recent problems Justin had run into with the AC3 parser,
including issue 459.
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 Mon Sep 22 05:00:26 2008
@@ -51,7 +51,7 @@ get_next:
}else{
i-= s->header_size -1;
s->remaining_size = len;
- if(!new_frame_start){
+ if(!new_frame_start || pc->index+i<=0){
s->remaining_size += i;
goto get_next;
}
More information about the ffmpeg-cvslog
mailing list