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 e479cc6e2411975769a5fed2874758d53f62e497
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Jul 30 01:40:49 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sat Sep 19 14:27:02 2026 +0200

    avcodec/ffv1dec: mark the slice damaged when its remap fails
    
    (cherry picked from commit 8ab8b4fabe8440d32a966f355dc2102d86336673)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/ffv1dec.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index cf9a49f105..17db5fab23 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -415,8 +415,10 @@ static int decode_slice(AVCodecContext *c, void *arg)
         }
 
         ret = decode_remap(f, sc);
-        if (ret < 0)
+        if (ret < 0) {
+            slice_set_damaged(f, sc);
             return ret;
+        }
     }
 
     if (ac == AC_GOLOMB_RICE) {

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