diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-11 14:47:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-11 16:40:28 +0100 |
commit | 7d05bbb656d35255f6053b8cedfbbf6226683edd (patch) | |
tree | f8e09f6e52d899d0252f744b866abe65dc2e93a5 /libavformat | |
parent | b65570808cb3b518f969f9288fe643bca6361b8f (diff) | |
download | ffmpeg-7d05bbb656d35255f6053b8cedfbbf6226683edd.tar.gz |
mxfdec: drop unneeded extradata padding
Found-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mxfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 1983774396..0d773c5b0c 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -870,7 +870,7 @@ static int mxf_read_generic_descriptor(void *arg, AVIOContext *pb, int tag, int av_log(NULL, AV_LOG_WARNING, "Duplicate sony_mpeg4_extradata\n"); av_free(descriptor->extradata); descriptor->extradata_size = 0; - descriptor->extradata = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); + descriptor->extradata = av_malloc(size); if (!descriptor->extradata) return AVERROR(ENOMEM); descriptor->extradata_size = size; |