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

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

commit d6ef560c9b9877856b5d9579b9d74e2f59eb67b4
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Fri May 29 04:57:55 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sun Jun 14 04:59:04 2026 +0200

    avformat/mxfdec: Remove unneeded check
    
    size is 16bit only
    
    Found-by: Tomas Härdin
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit aaac0989e6b44de34938797f530c47c7e9dcb67b)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavformat/mxfdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 890cbb28e4..0a04eb222c 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -1436,7 +1436,7 @@ static int mxf_read_generic_descriptor(void *arg, 
AVIOContext *pb, int tag, int
         break;
     default:
         /* Private uid used by SONY C0023S01.mxf */
-        if (IS_KLV_KEY(uid, mxf_sony_mpeg4_extradata) && size <= INT_MAX - 
AV_INPUT_BUFFER_PADDING_SIZE) {
+        if (IS_KLV_KEY(uid, mxf_sony_mpeg4_extradata)) {
             if (descriptor->extradata)
                 av_log(NULL, AV_LOG_WARNING, "Duplicate 
sony_mpeg4_extradata\n");
             av_free(descriptor->extradata);

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

Reply via email to