summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-02-01 10:50:31 +0100
committerAnton Khirnov <anton@khirnov.net>2022-02-15 10:16:16 +0100
commitb648ece34b6f2576698bea86bcc198a3f4e1f47b (patch)
tree12723e756c6753952e0c9c3aa8adce25534dd12f /libavcodec/avcodec.h
parentcefa595361db9d934b52ea7870fd14a4e7110eb1 (diff)
lavc: deprecate FF_IDCT_NONE
It was only used by XvMC.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index acb7ae0e14..5362446092 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1407,7 +1407,10 @@ typedef struct AVCodecContext {
#define FF_IDCT_SIMPLEARMV6 17
#define FF_IDCT_FAAN 20
#define FF_IDCT_SIMPLENEON 22
-#define FF_IDCT_NONE 24 /* Used by XvMC to extract IDCT coefficients with FF_IDCT_PERM_NONE */
+#if FF_API_IDCT_NONE
+// formerly used by xvmc
+#define FF_IDCT_NONE 24
+#endif
#define FF_IDCT_SIMPLEAUTO 128
/**