From 0df0a847f40ff64457cb3e44082ac08591738507 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 18 Feb 2020 18:03:42 +0100 Subject: video: drop NV24 alias Caused build failures with still supported FFmpeg versions. It's unreferenced, so it's not needed. Fixes: #7471 --- video/fmt-conversion.c | 1 - video/img_format.h | 3 --- 2 files changed, 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) -- cgit v1.2.3