aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-01-20 10:27:07 -0300
committerJames Almer <jamrial@gmail.com>2024-03-07 08:53:30 -0300
commitf00f70c8f17c0cea7b50d69826222999700c2a8a (patch)
tree9a182555540ffbb4d81b6ce11d8e4689097aa1a5
parent9ee59b63f5ea37700916815538c32dbcadc4a512 (diff)
downloadffmpeg-f00f70c8f17c0cea7b50d69826222999700c2a8a.tar.gz
avcodec: remove deprecated FF_API_VT_OUTPUT_CALLBACK
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/version_major.h1
-rw-r--r--libavcodec/videotoolbox.h9
2 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/version_major.h b/libavcodec/version_major.h
index e1db9c67fe..8b653686d8 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_VT_OUTPUT_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 61)
#define FF_API_AVCODEC_CHROMA_POS (LIBAVCODEC_VERSION_MAJOR < 61)
#define FF_API_VT_HWACCEL_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 61)
#define FF_API_AVCTX_FRAME_NUMBER (LIBAVCODEC_VERSION_MAJOR < 61)
diff --git a/libavcodec/videotoolbox.h b/libavcodec/videotoolbox.h
index ba5eddbf46..11b5315f7d 100644
--- a/libavcodec/videotoolbox.h
+++ b/libavcodec/videotoolbox.h
@@ -60,15 +60,6 @@ typedef struct AVVideotoolboxContext {
*/
VTDecompressionSessionRef session;
-#if FF_API_VT_OUTPUT_CALLBACK
- /**
- * The output callback that must be passed to the session.
- * Set by av_videottoolbox_default_init()
- */
- attribute_deprecated
- VTDecompressionOutputCallback output_callback;
-#endif
-
/**
* CVPixelBuffer Format Type that Videotoolbox will use for decoded frames.
* set by the caller. If this is set to 0, then no specific format is