0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

video: fix typo

Pointed out in #1636.
This commit is contained in:
wm4 2015-02-28 18:36:07 +01:00
parent 40c9e79068
commit 833ac3f264

View File

@ -609,7 +609,7 @@ void mp_image_params_guess_csp(struct mp_image_params *params)
// tagged with.
if (params->primaries == MP_CSP_PRIM_AUTO)
params->primaries = MP_CSP_PRIM_BT_709;
if (params->gamma = MP_CSP_TRC_AUTO)
if (params->gamma == MP_CSP_TRC_AUTO)
params->gamma = MP_CSP_TRC_LINEAR;
} else {
// We have no clue.