summaryrefslogtreecommitdiffstats
path: root/video/img_format.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-05 01:16:57 +0100
committerwm4 <wm4@nowhere>2014-11-05 01:52:20 +0100
commita7686e86fff0412454076756f333e2e271511166 (patch)
tree783751a6a63135ee798241ab63999d0000386dda /video/img_format.c
parentfce77c05f5585c623afc312635054eb23cc69c0b (diff)
downloadmpv-a7686e86fff0412454076756f333e2e271511166.tar.bz2
mpv-a7686e86fff0412454076756f333e2e271511166.tar.xz
video: remove swapped-endian image format aliases
Like the previous commit, this removes names only, not actual support for these formats.
Diffstat (limited to 'video/img_format.c')
-rw-r--r--video/img_format.c2
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 &&