This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit d862937c5a9bd6099e46f551846e91a048ed65a1 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Aug 11 21:28:17 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Tue Aug 11 23:34:41 2026 +0000 avformat/rtpenc_av1: Check num_lebs 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]
