This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/4.4 in repository ffmpeg.
commit eb1e36462a22798e43dce1788f092decded354b6 Author: Priyanshu Thapliyal <[email protected]> AuthorDate: Wed Mar 25 13:36:07 2026 +0530 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue May 5 18:55:10 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 fc10c18696..7d1941a659 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -1773,7 +1773,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]
