Do not return a probe score from set_codec_from_probe_data() if the codec was ignored.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 7 Aug 2014 07:12:34 +0000 (09:12 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 7 Aug 2014 07:12:34 +0000 (09:12 +0200)
commitef17a0c7ba005fafd05e7d9f0ff294a59265a2dc
tree15a4240a405b9457ee62f5ca6d61f695da2f2c6a
parent5b12b4fc4b2217a5ea69c4ca6dbb5debeb39bb2b
Do not return a probe score from set_codec_from_probe_data() if the codec was ignored.

This is a workaround for the issue that stream probing can use
the score of another codec type for mpeg stream autodetection.
Fixes ticket #3821.
libavformat/utils.c