Badly interleaved partial AVI file causes audio/video desync
|Reported by:||gjdfgh||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
Reproducible with streams.videolan.org/issues/ffmpeg/yet-another-broken-interleaved-avi.avi and
dd if=yet-another-broken-interleaved-avi.avi of=test.avi bs=1048576 count=200
The problem description is exactly the same as #333, except with partial files (the complete test file as linked above works fine, just cutting it makes it fail).
Just like with bug #333 (before it was fixed), it causes desync after some time of normal playback in ffplay/mplayer, and it works correctly with mplayer -demuxer avi.
Compared to playback of the complete file, the following ffplay message is missing:
[avi @ 0x7f94980008c0] non-interleaved AVI
which possibly means that the demuxer fails to recognize the file as badly interleaved if the trailing part of the file is missing.