summaryrefslogtreecommitdiff
path: root/libavformat/wavdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/wavdec.c')
-rw-r--r--libavformat/wavdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index cfaf3d61fe..575c667452 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -220,7 +220,6 @@ static int wav_parse_xma2_tag(AVFormatContext *s, int64_t size, AVStream **st)
avpriv_set_pts_info(*st, 64, 1, (*st)->codecpar->sample_rate);
avio_seek(pb, -size, SEEK_CUR);
- av_freep(&(*st)->codecpar->extradata);
if ((ret = ff_get_extradata(s, (*st)->codecpar, pb, size)) < 0)
return ret;