From 1b608bef36141eb6cef0d98042a2db1b9234ed08 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 27 Apr 2025 20:29:53 +0200 Subject: [PATCH 7/7] avcodec/apv_decode: Remove redundant log message ff_thread_get_buffer() already emits its own logmessage. Signed-off-by: Andreas Rheinhardt --- libavcodec/apv_decode.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/apv_decode.c b/libavcodec/apv_decode.c index 3b638795ea..6fe52ffd84 100644 --- a/libavcodec/apv_decode.c +++ b/libavcodec/apv_decode.c @@ -277,10 +277,8 @@ static int apv_decode(AVCodecContext *avctx, AVFrame *output, } err = ff_thread_get_buffer(avctx, output, 0); - if (err) { - av_log(avctx, AV_LOG_ERROR, "No output frame supplied.\n"); + if (err < 0) return err; - } apv->output_frame = output; -- 2.45.2