mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Fix playback of strange AVI files with stray LIST.
sample: http://samples.mplayerhq.hu/avi/AV36_1.AVI fix suggested by Michael Originally committed as revision 20118 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2499f4e09e
commit
e471e3c4a5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user