avi: Improve non-interleaved detection
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 2 Apr 2014 07:11:10 +0000 (09:11 +0200)
committerReinhard Tartler <siretart@tauware.de>
Sat, 10 May 2014 16:00:40 +0000 (12:00 -0400)
commit7f954ca502a16feeca44d4e9a7d450b404dabc94
tree97f7e1752342b153c1e6f23d2aed965b709aba47
parent8e9e57ed0c7f40741da1ca83e52c851263e0c168
avi: Improve non-interleaved detection

Additional fixes by Nigel Touati-Evans <nigel.touatievans@gmail.com>.

Check the index for streams with a time drift of 2s or a buffer drift
of 64MB.

Bug-Id: 666
CC: libav-stable@libav.org
Sample-Id: yet-another-broken-interleaved-avi.avi

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
(cherry picked from commit 9d599e3f6e61438772d8cddd6c9b7c495251f51e)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Changelog
libavformat/avidec.c