[FFmpeg-cvslog] r20118 - trunk/libavformat/avidec.c
aurel
subversion
Thu Oct 1 12:24:02 CEST 2009
Author: aurel
Date: Thu Oct 1 12:24:02 2009
New Revision: 20118
Log:
Fix playback of strange AVI files with stray LIST.
sample: http://samples.mplayerhq.hu/avi/AV36_1.AVI
fix suggested by Michael
Modified:
trunk/libavformat/avidec.c
Modified: trunk/libavformat/avidec.c
==============================================================================
--- trunk/libavformat/avidec.c Thu Oct 1 11:30:08 2009 (r20117)
+++ trunk/libavformat/avidec.c Thu Oct 1 12:24:02 2009 (r20118)
@@ -830,6 +830,12 @@ resync:
goto resync;
}
+ //parse stray LIST
+ if(d[0] == 'L' && d[1] == 'I' && d[2] == 'S' && d[3] == 'T'){
+ url_fskip(pb, 4);
+ goto resync;
+ }
+
n= get_stream_idx(d);
if(!((i-avi->last_pkt_pos)&1) && get_stream_idx(d+1) < s->nb_streams)
More information about the ffmpeg-cvslog
mailing list