summaryrefslogtreecommitdiffstats
path: root/bin_to_header.py
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-03-26 04:12:26 +0200
committerwm4 <wm4@mplayer2.org>2012-03-26 04:12:26 +0200
commitc161d31eed3a66cbfb0207ffdc9b804c7e610770 (patch)
tree4223af76d6ab4f3074f93ef0c5b7ff3c1ffc5ca6 /bin_to_header.py
parent84b2c79c56339eae64d5e5f622d8e65f463e5e1f (diff)
downloadmpv-c161d31eed3a66cbfb0207ffdc9b804c7e610770.tar.bz2
mpv-c161d31eed3a66cbfb0207ffdc9b804c7e610770.tar.xz
vo_direct3d: fix crash when using RGB formats
The function mp_get_yuv2rgb_coeffs() expects valid values for input_bits. When using RGB formats, input_bits is outside the range of what mp_get_yuv2rgb_coeffs() expects. This doesn't matter since we don't use the result of that function in the RGB case, but it triggered an assertion. This is a regression from commit a8168102668337f3c1, "vo_gl: improve 10-bit YUV->RGB conversion accuracy slightly".
Diffstat (limited to 'bin_to_header.py')
0 files changed, 0 insertions, 0 deletions