summaryrefslogtreecommitdiff
path: root/libavformat/xmv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/xmv.c')
-rw-r--r--libavformat/xmv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/xmv.c b/libavformat/xmv.c
index 7f12956458..0c69d267de 100644
--- a/libavformat/xmv.c
+++ b/libavformat/xmv.c
@@ -397,8 +397,6 @@ static int xmv_process_packet_header(AVFormatContext *s)
av_assert0(xmv->video.stream_index < s->nb_streams);
if (vst->codecpar->extradata_size < 4) {
- av_freep(&vst->codecpar->extradata);
-
if ((ret = ff_alloc_extradata(vst->codecpar, 4)) < 0)
return ret;
}