This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit 18427d0aec39c40561c68ffabaad80f95a53951a Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Oct 20 03:04:00 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 05:26:10 2026 +0100 avcodec/dovi_rpuenc: do not divide by a zero frame rate denominator Fixes: TPu5aVjgBh7t/testcase/crafted.hevc Fixes: TPu5aVjgBh7t Fixes: AISLE-2026-0150-00819 Fixes: division by zero Division by zero Replicated through UnModified FFmpeg with UBSAN Found-by: Joshua Rogers (AISLE) Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit ab28d57ba2ec07b41b4a60ed8806b13a39ec86fe) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/dovi_rpuenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dovi_rpuenc.c b/libavcodec/dovi_rpuenc.c index 4bd87f496f..61a7702d4f 100644 --- a/libavcodec/dovi_rpuenc.c +++ b/libavcodec/dovi_rpuenc.c @@ -183,7 +183,7 @@ static av_cold int dovi_configure_ext(DOVIContext *s, enum AVCodecID codec_id, } pps = width * height; - if (framerate.num) { + if (framerate.num > 0 && framerate.den > 0) { pps = pps * framerate.num / framerate.den; } else { pps *= 25; /* sanity fallback */ -- 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]
