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

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

commit 8027aa35a882bae0c3b4b9b71643e130ee470e47
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Fri May 1 22:16:02 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Tue May 5 18:55:13 2026 +0200

    avcodec/tdsc: remove double stride adjustment
    
    Fixes: out of array access
    
    Found-by: Seung Min Shin
    Patch based on suggested fix by Seung Min Shin
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit 242ff799c75f20bade946314c8d741d0887ee11c)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/tdsc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/tdsc.c b/libavcodec/tdsc.c
index 5d8db26f52..7c71022f28 100644
--- a/libavcodec/tdsc.c
+++ b/libavcodec/tdsc.c
@@ -241,7 +241,6 @@ static int tdsc_load_cursor(AVCodecContext *avctx)
                     bits <<= 1;
                 }
             }
-            dst += ctx->cursor_stride - ctx->cursor_w * 4;
         }
 
         dst = ctx->cursor;
@@ -273,7 +272,6 @@ static int tdsc_load_cursor(AVCodecContext *avctx)
                     bits <<= 1;
                 }
             }
-            dst += ctx->cursor_stride - ctx->cursor_w * 4;
         }
         break;
     case CUR_FMT_BGRA:

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

Reply via email to