1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00

video: fix green shit

This commit is contained in:
wm4 2017-09-30 14:19:34 +02:00
parent 052ae5393a
commit b12b928221

View File

@ -129,7 +129,7 @@ struct mp_imgfmt_desc mp_imgfmt_get_desc(int mpfmt)
fmt == AV_PIX_FMT_UYYVYY411)
return mp_only_imgfmt_desc(mpfmt);
enum mp_component_type is_uint =
mp_imgfmt_get_component_type(fmt) == MP_COMPONENT_TYPE_UINT;
mp_imgfmt_get_component_type(mpfmt) == MP_COMPONENT_TYPE_UINT;
struct mp_imgfmt_desc desc = {
.id = mpfmt,