summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_ty.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-21 22:52:15 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2011-01-21 22:52:15 +0200
commitc0724413fda1152cf422c23f062ed4f4f4088c42 (patch)
tree0e86c4eac89a3eb899f052effdf3059d34858110 /libmpdemux/demux_ty.c
parent37b756bb70441a42b85aeb075a096fb02b560ab2 (diff)
downloadmpv-c0724413fda1152cf422c23f062ed4f4f4088c42.tar.bz2
mpv-c0724413fda1152cf422c23f062ed4f4f4088c42.tar.xz
demux_lavf: reject format probe matches with low score
When trying to determine the format of an input stream, demux_lavf retries the probe with a larger buffer size up to some limit if the match score is low, but when reaching the size limit it accepted the best match (if any) regardless of its score. Change it to require a score of at least AVPROBE_SCORE_MAX/4 to accept a match at all.
Diffstat (limited to 'libmpdemux/demux_ty.c')
0 files changed, 0 insertions, 0 deletions