From 0b8940f96ae4c09b547e94e94be00f3cd6f66733 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 20 Jan 2024 10:24:07 -0300 Subject: [PATCH] avcodec: remove deprecated FF_API_IDCT_NONE Signed-off-by: James Almer --- libavcodec/avcodec.h | 4 ---- libavcodec/version_major.h | 1 - 2 files changed, 5 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 8aa1356b8c..281c8b0a9c 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1500,10 +1500,6 @@ typedef struct AVCodecContext { #define FF_IDCT_SIMPLEARMV6 17 #define FF_IDCT_FAAN 20 #define FF_IDCT_SIMPLENEON 22 -#if FF_API_IDCT_NONE -// formerly used by xvmc -#define FF_IDCT_NONE 24 -#endif #define FF_IDCT_SIMPLEAUTO 128 /** diff --git a/libavcodec/version_major.h b/libavcodec/version_major.h index 161442df95..72ee52f7dc 100644 --- a/libavcodec/version_major.h +++ b/libavcodec/version_major.h @@ -38,7 +38,6 @@ */ #define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 61) -#define FF_API_IDCT_NONE (LIBAVCODEC_VERSION_MAJOR < 61) #define FF_API_SVTAV1_OPTS (LIBAVCODEC_VERSION_MAJOR < 61) #define FF_API_AYUV_CODECID (LIBAVCODEC_VERSION_MAJOR < 61) #define FF_API_VT_OUTPUT_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 61)