This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch release/8.1
in repository ffmpeg.

commit 66aec442f6b2c461bf4fd3dd430300b4081a98dd
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Aug 11 21:28:17 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sat Sep 19 14:27:07 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;

-- 
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]

Reply via email to