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

Git pushed a commit to branch master
in repository ffmpeg.

commit 200a98d5ba4a6c792517d3ea464a5392737b4e33
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Oct 29 03:03:47 2026 +0100
Commit:     michaelni <[email protected]>
CommitDate: Tue Nov 3 21:30:40 2026 +0000

    avcodec/exrenc: propagate the scanline encoder errors
    
    This is not a security issue.
    
    Found-by: Joshua Rogers (AISLE)
---
 libavcodec/exrenc.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavcodec/exrenc.c b/libavcodec/exrenc.c
index 68eb683aa5..2c697e66b6 100644
--- a/libavcodec/exrenc.c
+++ b/libavcodec/exrenc.c
@@ -437,15 +437,17 @@ static int encode_frame(AVCodecContext *avctx, AVPacket 
*pkt,
         /* nothing to do */
         break;
     case EXR_RLE:
-        encode_scanline_rle(s, frame);
+        ret = encode_scanline_rle(s, frame);
         break;
     case EXR_ZIP16:
     case EXR_ZIP1:
-        encode_scanline_zip(s, frame);
+        ret = encode_scanline_zip(s, frame);
         break;
     default:
         av_assert0(0);
     }
+    if (ret < 0)
+        return ret;
 
     switch (s->compression) {
     case EXR_RAW:

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