This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new ff3223b5d6 avcodec/ralf: Add the missing return statement after the 
error log
ff3223b5d6 is described below

commit ff3223b5d689015403b8355c11803045a2a7995e
Author:     Marius Momeu <[email protected]>
AuthorDate: Sat May 2 12:28:30 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sun May 3 13:25:30 2026 +0000

    avcodec/ralf: Add the missing return statement after the error log
    
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/ralf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/ralf.c b/libavcodec/ralf.c
index 7d9037ceaa..9c28ce5809 100644
--- a/libavcodec/ralf.c
+++ b/libavcodec/ralf.c
@@ -157,6 +157,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
     if (ctx->max_frame_size > (1 << 20) || !ctx->max_frame_size) {
         av_log(avctx, AV_LOG_ERROR, "invalid frame size %d\n",
                ctx->max_frame_size);
+        return AVERROR_INVALIDDATA;
     }
     ctx->max_frame_size = FFMAX(ctx->max_frame_size, avctx->sample_rate);
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to