summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-18 18:03:42 +0100
committerwm4 <wm4@nowhere>2020-02-18 18:03:42 +0100
commit0df0a847f40ff64457cb3e44082ac08591738507 (patch)
treee1a8791300c16a85287a79d2c06a184e9500951d
parent36ca0e00305fdc3d5c052c4757b00a33b2eb6b14 (diff)
downloadmpv-0df0a847f40ff64457cb3e44082ac08591738507.tar.bz2
mpv-0df0a847f40ff64457cb3e44082ac08591738507.tar.xz
video: drop NV24 alias
Caused build failures with still supported FFmpeg versions. It's unreferenced, so it's not needed. Fixes: #7471
-rw-r--r--video/fmt-conversion.c1
-rw-r--r--video/img_format.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c
index e18b6a1f8f..8c9aa40bfa 100644
--- a/video/fmt-conversion.c
+++ b/video/fmt-conversion.c
@@ -36,7 +36,6 @@ static const struct {
{IMGFMT_PAL8, AV_PIX_FMT_PAL8},
{IMGFMT_UYVY, AV_PIX_FMT_UYVY422},
{IMGFMT_NV12, AV_PIX_FMT_NV12},
- {IMGFMT_NV24, AV_PIX_FMT_NV24},
{IMGFMT_Y8, AV_PIX_FMT_GRAY8},
{IMGFMT_Y16, AV_PIX_FMT_GRAY16},
{IMGFMT_420P, AV_PIX_FMT_YUV420P},
diff --git a/video/img_format.h b/video/img_format.h
index 139c690ebe..9137457340 100644
--- a/video/img_format.h
+++ b/video/img_format.h
@@ -164,9 +164,6 @@ enum mp_imgfmt {
// Like IMGFMT_NV12, but with 10 bits per component (and 6 bits of padding)
IMGFMT_P010,
- // Like IMGFMT_NV12, but for 4:4:4
- IMGFMT_NV24,
-
// RGB/BGR Formats
// Byte accessed (low address to high address)