diff options
Diffstat (limited to 'video/img_format.c')
-rw-r--r-- | video/img_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/img_format.c b/video/img_format.c index b1d78feba1..7df0923cfe 100644 --- a/video/img_format.c +++ b/video/img_format.c @@ -185,7 +185,7 @@ struct mp_imgfmt_desc mp_imgfmt_get_desc(int mpfmt) ? MP_IMGFLAG_BE : MP_IMGFLAG_LE; } - if (mpfmt == IMGFMT_XYZ12_LE || mpfmt == IMGFMT_XYZ12_BE) { + if (fmt == AV_PIX_FMT_XYZ12LE || fmt == AV_PIX_FMT_XYZ12BE) { desc.flags |= MP_IMGFLAG_XYZ; } else if (!(pd->flags & AV_PIX_FMT_FLAG_RGB) && fmt != AV_PIX_FMT_MONOBLACK && |