mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
avcodec/ralf: Add the missing return statement after the error log
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ff3223b5d6)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
d76eab5dab
commit
f70eb1cb0b
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user