diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_direct3d.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c index b5b23415ce..cffe7f81d0 100644 --- a/libvo/vo_direct3d.c +++ b/libvo/vo_direct3d.c @@ -1337,12 +1337,12 @@ static void update_colorspace(d3d_priv *priv) csp.input_bits = 8; csp.texture_bits = 8; } - } - mp_get_yuv2rgb_coeffs(&csp, coeff); - for (int row = 0; row < 3; row++) { - for (int col = 0; col < 4; col++) { - priv->d3d_colormatrix.m[row][col] = coeff[row][col]; + mp_get_yuv2rgb_coeffs(&csp, coeff); + for (int row = 0; row < 3; row++) { + for (int col = 0; col < 4; col++) { + priv->d3d_colormatrix.m[row][col] = coeff[row][col]; + } } } } |