You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
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>
This commit is contained in:
@@ -903,10 +903,8 @@ static int thread_get_buffer_internal(AVCodecContext *avctx, AVFrame *f, int fla
|
|||||||
return ff_get_buffer(avctx, f, flags);
|
return ff_get_buffer(avctx, f, flags);
|
||||||
|
|
||||||
p = avctx->internal->thread_ctx;
|
p = avctx->internal->thread_ctx;
|
||||||
FF_DISABLE_DEPRECATION_WARNINGS
|
|
||||||
if (atomic_load(&p->state) != STATE_SETTING_UP &&
|
if (atomic_load(&p->state) != STATE_SETTING_UP &&
|
||||||
ffcodec(avctx->codec)->update_thread_context) {
|
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");
|
av_log(avctx, AV_LOG_ERROR, "get_buffer() cannot be called after ff_thread_finish_setup()\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user