ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@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 <s...@jkqxz.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@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;
 

_______________________________________________
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