Extend DV autodetection to also reliably detect single-frame DVs with
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 29 Sep 2009 10:12:18 +0000 (10:12 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 29 Sep 2009 10:12:18 +0000 (10:12 +0000)
commitf6765f3f04518bd0c2172733139422be49c1c82c
tree6377331c2661bc638a55095967fb75872f98d3f5
parent6378b062081f461b4e7d245aad7c8f67ba4bb2f1
Extend DV autodetection to also reliably detect single-frame DVs with
a higher score that MAX/4.
It checks that there are at least 10 DIF headers and at least one per
24000 bytes, and if so considers the file reliably detected as DV.
Passes probetest, too.

Originally committed as revision 20074 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/dv.c