Extend DV autodetection to also reliably detect single-frame DVs with
commit953dfa8b5956155dd25b4472f02531c47bdbeb06
authorreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 29 Sep 2009 10:12:18 +0000 (29 10:12 +0000)
committerreimar <reimar@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 29 Sep 2009 10:12:18 +0000 (29 10:12 +0000)
tree7f5a279a49181881d6518ac6f01eaedf499cfd9e
parent4749b5c7cfdcf03f01b82b4ac2ebdc2b81c15ccd
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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20074 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavformat/dv.c