diff options
author | James Almer <jamrial@gmail.com> | 2023-02-25 18:51:31 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-03-01 19:05:39 -0300 |
commit | de133eaabaea4d508475e2d2073b7c50238a79ee (patch) | |
tree | 7d587ee19278b78c3fa6b8129dd2a8d6d47aee04 | |
parent | 011f30fc8205eff8e775d04afb98e02685cd8a7a (diff) | |
download | ffmpeg-de133eaabaea4d508475e2d2073b7c50238a79ee.tar.gz |
avcodec/pthread_frame: remove forgotten deprecation warning wrappers
Missed in e0786a8e.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/pthread_frame.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c index d9d5afaa82..31785acbef 100644 --- a/libavcodec/pthread_frame.c +++ b/libavcodec/pthread_frame.c @@ -903,10 +903,8 @@ static int thread_get_buffer_internal(AVCodecContext *avctx, AVFrame *f, int fla return ff_get_buffer(avctx, f, flags); p = avctx->internal->thread_ctx; -FF_DISABLE_DEPRECATION_WARNINGS if (atomic_load(&p->state) != STATE_SETTING_UP && ffcodec(avctx->codec)->update_thread_context) { -FF_ENABLE_DEPRECATION_WARNINGS av_log(avctx, AV_LOG_ERROR, "get_buffer() cannot be called after ff_thread_finish_setup()\n"); return -1; } |