summaryrefslogtreecommitdiffstats
path: root/audio/format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-10 23:29:31 +0200
committerwm4 <wm4@nowhere>2015-09-10 23:29:31 +0200
commite45f4692804f48c7e8b4a4229bbd51d72a6a6d42 (patch)
treea8f512bab2f4dd67f7805739bc7139608382e1d2 /audio/format.h
parentdc04541ba8cf52aab24c8e55d0e640d79ba6605e (diff)
downloadmpv-e45f4692804f48c7e8b4a4229bbd51d72a6a6d42.tar.bz2
mpv-e45f4692804f48c7e8b4a4229bbd51d72a6a6d42.tar.xz
audio/format: fix interlaved vs. non-interleaved conversions
This mixed up the returned score for some interleaved/non-interleaved comparisons. Changing interleaving subtracted 1 point, while extending sample size by 1 byte also subtracted 1 point. (This scoring system is not ideal - it'd be much cleaner to do a 3-way sample format comparison instead, and sort the formats according to the comparison instead of the score.)
Diffstat (limited to 'audio/format.h')
0 files changed, 0 insertions, 0 deletions