This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.0 in repository ffmpeg.
commit 0b13d4c50a7ab6b9320452e0ea8f647c7c315154 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Aug 11 21:28:17 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Wed Aug 12 04:52:00 2026 +0200 avformat/rtpenc_av1: Check num_lebs Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit d862937c5a9bd6099e46f551846e91a048ed65a1) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/rtpenc_av1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpenc_av1.c b/libavformat/rtpenc_av1.c index ae66fdb86f..934cfb63a3 100644 --- a/libavformat/rtpenc_av1.c +++ b/libavformat/rtpenc_av1.c @@ -167,7 +167,7 @@ void ff_rtp_send_av1(AVFormatContext *ctx, const uint8_t *frame_buf, int frame_s obu_hdr &= ~AV1F_OBU_HAS_SIZE_FIELD; // remove size field // read out explicit OBU size num_lebs = parse_leb(ctx, obu_ptr, frame_size, &obu_size); - if (!num_lebs) { + if (num_lebs <= 0) { return; } obu_ptr += num_lebs; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
