This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/6.1 in repository ffmpeg.
commit d23fa0754db096c3305c3e491c237bbd0b427ec8 Author: Priyanshu Thapliyal <[email protected]> AuthorDate: Wed Mar 25 13:36:07 2026 +0530 Commit: Michael Niedermayer <[email protected]> CommitDate: Mon May 4 17:13:32 2026 +0200 avcodec/alsdec: propagate read_diff_float_data() errors in read_frame_data() The return value of read_diff_float_data() was previously ignored, allowing decode to continue silently with partially transformed samples on malformed floating ALS input. Check and propagate the error. All failure paths in read_diff_float_data() already return AVERROR_INVALIDDATA, so the caller fix is sufficient without any normalization inside the function. Signed-off-by: Priyanshu Thapliyal <[email protected]> (cherry picked from commit febc82690da3e054cf93b32203a2e19d3d1a935c) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/alsdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index d43bbf1b09..e9d2fe96fb 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -1786,7 +1786,9 @@ static int read_frame_data(ALSDecContext *ctx, unsigned int ra_frame) } if (sconf->floating) { - read_diff_float_data(ctx, ra_frame); + ret = read_diff_float_data(ctx, ra_frame); + if (ret < 0) + return ret; } if (get_bits_left(gb) < 0) { _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
