diff options
author | James Almer <jamrial@gmail.com> | 2023-01-23 19:05:02 -0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-02-09 15:24:16 +0100 |
commit | e0786a8eeb9e7c8feb057e83f284491f0a87e463 (patch) | |
tree | cfaa0daf5762ab3ccfb8e6c109e970adb32a9436 /libavcodec/thread.h | |
parent | 2f9cd8861797df5b4d2e36143dfa8268b65cfd38 (diff) | |
download | ffmpeg-e0786a8eeb9e7c8feb057e83f284491f0a87e463.tar.gz |
avcodec: remove FF_API_THREAD_SAFE_CALLBACKS
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/thread.h')
-rw-r--r-- | libavcodec/thread.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libavcodec/thread.h b/libavcodec/thread.h index d5673f25ea..88a14cfeb1 100644 --- a/libavcodec/thread.h +++ b/libavcodec/thread.h @@ -62,19 +62,7 @@ int ff_thread_decode_frame(AVCodecContext *avctx, AVFrame *picture, */ void ff_thread_finish_setup(AVCodecContext *avctx); -#if FF_API_THREAD_SAFE_CALLBACKS -/** - * Wrapper around get_format() for frame-multithreaded codecs. - * Call this function instead of avctx->get_format(). - * Cannot be called after the codec has called ff_thread_finish_setup(). - * - * @param avctx The current context. - * @param fmt The list of available formats. - */ -enum AVPixelFormat ff_thread_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt); -#else #define ff_thread_get_format ff_get_format -#endif /** * Wrapper around get_buffer() for frame-multithreaded codecs. |