ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Sat Feb 25 18:51:31 
2023 -0300| [de133eaabaea4d508475e2d2073b7c50238a79ee] | committer: James Almer

avcodec/pthread_frame: remove forgotten deprecation warning wrappers

Missed in e0786a8e.

Reviewed-by: Anton Khirnov <an...@khirnov.net>
Signed-off-by: James Almer <jamr...@gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=de133eaabaea4d508475e2d2073b7c50238a79ee
---

 libavcodec/pthread_frame.c | 2 --
 1 file changed, 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;
     }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to