PR #22997 opened by michaelni URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22997 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22997.patch
Signed-off-by: Michael Niedermayer <[email protected]> >From 14d8361b57f9c8ba0c1fae05d0f72d5b97dff958 Mon Sep 17 00:00:00 2001 From: Marius Momeu <[email protected]> Date: Sat, 2 May 2026 12:28:30 +0200 Subject: [PATCH] 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); -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
