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 b36c728ba890ea325d7fb646c444a26ca697957a
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Jul 30 01:40:49 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Aug 2 02:47:33 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 ba973ab76f..ccafc71872 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -488,8 +488,10 @@ static int decode_slice(AVCodecContext *c, void *arg)
 
     if (sc->remap) {
         ret = decode_remap(f, sc);
-        if (ret < 0)
+        if (ret < 0) {
+            slice_set_damaged(f, sc);
             return ret;
+        }
     }
 
     if (ac == AC_GOLOMB_RICE) {

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to