Try harder to avoid false positives for DV probe.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 14 Sep 2009 22:03:07 +0000 (22:03 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 14 Sep 2009 22:03:07 +0000 (22:03 +0000)
commit6377de611a778273f307dfe43e43b4f9f0401186
treeccf37fc1d4c61915435477acecf0cbcddc5dd956
parent98487a5b69d9641b4ed66a5281752ea5617eeac7
Try harder to avoid false positives for DV probe.
Require at least one signature match per provided 1MB of probe data,
and if there is only a single match, return at most MAX/4.
Fixes issue1382 but could/should probably still be improved.

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