mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-11 08:13:06 +00:00
avformat/mxfdec: Remove unneeded check
size is 16bit only Found-by: Tomas Härdin Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
michaelni
parent
468a743af1
commit
aaac0989e6
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user