This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new aaac0989e6 avformat/mxfdec: Remove unneeded check
aaac0989e6 is described below
commit aaac0989e6b44de34938797f530c47c7e9dcb67b
Author: Michael Niedermayer <[email protected]>
AuthorDate: Fri May 29 04:57:55 2026 +0200
Commit: michaelni <[email protected]>
CommitDate: Fri May 29 18:23:06 2026 +0000
avformat/mxfdec: Remove unneeded check
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)) {
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]