fre 2026-05-29 klockan 03:04 +0000 skrev michaelni via ffmpeg-devel: > PR #23269 opened by michaelni > URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23269 > Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23269.patch > > size is 16bit only > > Found-by: Tomas Härdin > Signed-off-by: Michael Niedermayer <[email protected]> > > > From f13b3720219f0ea0140faa4e6cfb61a2a0d8722f Mon Sep 17 00:00:00 > 2001 > From: Michael Niedermayer <[email protected]> > Date: Fri, 29 May 2026 04:57:55 +0200 > Subject: [PATCH] avformat/mxfdec: Remove unneeded check > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > size is 16bit only > > Found-by: Tomas Härdin > 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 58ea0bbca5..4ba4af1fa7 100644 > --- a/libavformat/mxfdec.c > +++ b/libavformat/mxfdec.c > @@ -1438,7 +1438,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)) {
Looks fine, for reasons stated in the other thread /Tomas _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
