[FFmpeg-cvslog] avcodec/apv_decode: Remove redundant log message

Andreas Rheinhardt git at videolan.org
Mon Apr 28 00:13:32 EEST 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Apr 27 20:29:53 2025 +0200| [fcc562693e34d4cdbb486f2159547595554f7519] | committer: Andreas Rheinhardt

avcodec/apv_decode: Remove redundant log message

ff_thread_get_buffer() already emits its own logmessage.

Reviewed-by: Mark Thompson <sw at jkqxz.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 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;
 



More information about the ffmpeg-cvslog mailing list