Make DTS probe more robust against false positives (as e.g. probetest shows).
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 14 Sep 2009 20:28:10 +0000 (20:28 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 14 Sep 2009 20:28:10 +0000 (20:28 +0000)
commit05bdd33a128dea4cea31d8b77072901f29e9ffff
tree000783329af0f05f6e9daf98f252d51f4e274af4
parent9f449d57c7d6e0b54335eaddad69ec773c31a037
Make DTS probe more robust against false positives (as e.g. probetest shows).
In particular check that the detected markers clearly indicate a specific DTS
format (a wild mixture of e.g. little- and big-endian markers is unlikely to be
a valid DTS file) and ensure the markers appear with sufficient frequency.

Originally committed as revision 19844 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/raw.c