diff options
author | Paul B Mahol <onemda@gmail.com> | 2018-08-14 20:06:32 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-08-21 12:14:44 +0200 |
commit | 6972dae5a494fb69836343ea0e8d430769177c5d (patch) | |
tree | 7fd8d874d8b112194360533b05e77cf478b4996a /libavformat/avidec.c | |
parent | a39fdc97b73fe8f7825a0366c71f162b90dd24f5 (diff) | |
download | ffmpeg-6972dae5a494fb69836343ea0e8d430769177c5d.tar.gz |
avformat/avidec: fix demuxing of all keyframes of sample 200707170736151.avi
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index bafe1dc8da..3f074795a7 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1231,6 +1231,11 @@ start_sync: goto start_sync; } + if (d[2] == 'w' && d[3] == 'c' && n < s->nb_streams) { + avio_skip(pb, 16 * 3 + 8); + goto start_sync; + } + if (avi->dv_demux && n != 0) continue; |