This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 263374ac7d540fceccc97e00df57d028efed92dd Author: Michael Niedermayer <[email protected]> AuthorDate: Sun May 31 19:50:57 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Tue Jun 2 00:59:38 2026 +0000 avcodec/aac/aacdec_usac: reject explicit usacSamplingFrequency of 0 Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/aac/aacdec_usac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/aac/aacdec_usac.c b/libavcodec/aac/aacdec_usac.c index 0f1bb50a99..e484d6504c 100644 --- a/libavcodec/aac/aacdec_usac.c +++ b/libavcodec/aac/aacdec_usac.c @@ -377,6 +377,8 @@ int ff_aac_usac_config_decode(AACDecContext *ac, AVCodecContext *avctx, freq_idx = get_bits(gb, 5); /* usacSamplingFrequencyIndex */ if (freq_idx == 0x1f) { samplerate = get_bits(gb, 24); /* usacSamplingFrequency */ + if (samplerate == 0) + return AVERROR(EINVAL); } else { samplerate = ff_aac_usac_samplerate[freq_idx]; if (samplerate < 0) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
