summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_latm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtpdec_latm.c')
-rw-r--r--libavformat/rtpdec_latm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rtpdec_latm.c b/libavformat/rtpdec_latm.c
index de18e81ea9..104a00af18 100644
--- a/libavformat/rtpdec_latm.c
+++ b/libavformat/rtpdec_latm.c
@@ -115,7 +115,6 @@ static int parse_fmtp_config(AVStream *st, const char *value)
ret = AVERROR_PATCHWELCOME;
goto end;
}
- av_freep(&st->codecpar->extradata);
ret = ff_alloc_extradata(st->codecpar, (get_bits_left(&gb) + 7)/8);
if (ret < 0) {
goto end;