This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 3c92f003c7d1a249cd921a74e5b22297e1368014 Author: Zhao Zhili <[email protected]> AuthorDate: Wed Oct 14 15:15:07 2026 +0800 Commit: Zhao Zhili <[email protected]> CommitDate: Thu Oct 15 09:43:37 2026 +0000 avformat/iamf_parse: reject a zero parameter rate param_parse() reads parameter_rate from the bitstream and uses it as the divisor of av_rescale() when bounding the block duration, so a zero rate hits av_assert2(c > 0). Signed-off-by: Zhao Zhili <[email protected]> --- libavformat/iamf_parse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/iamf_parse.c b/libavformat/iamf_parse.c index b95c47ce8e..5338004d99 100644 --- a/libavformat/iamf_parse.c +++ b/libavformat/iamf_parse.c @@ -635,6 +635,8 @@ static int param_parse(void *s, IAMFContext *c, AVIOContext *pb, } parameter_rate = ffio_read_leb(pb); + if (!parameter_rate) + return AVERROR_INVALIDDATA; mode = avio_r8(pb) >> 7; if (mode == 0) { -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
