This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit b45a6d3f76f11df8adaf167b291102b899f125f8 Author: Michael Niedermayer <[email protected]> AuthorDate: Sat May 2 12:53:36 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sun May 3 13:26:34 2026 +0000 avcodec/adpcm: signed integer overflow in ADPCM_N64 Fixes: signed integer overflow Found-by: Marius Momeu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/adpcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 18bdc43b76..e06aa7606b 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -2704,7 +2704,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, AVFrame *frame, for (int k = i-1; k > -1; k--) { for (int o = 1; o < order; o++) - delta += sf_codes[(i-1) - k] * coefs[(o*8) + k]; + delta += sf_codes[(i-1) - k] * (unsigned)coefs[(o*8) + k]; } sample = sf_codes[i] * 2048; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
