X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fopusdec.c;h=556acfe2df9f88b662278e19031139eb9b6fc6c0;hb=5f633c39cd3ec13ea97e0a7474d452fd5cff8243;hp=ec793c6c471d94854910b2e0ddeeb73eae7d4e5b;hpb=cd47bd835a1fe942c2935a8b5ba12b7132347f1c;p=ffmpeg diff --git a/libavcodec/opusdec.c b/libavcodec/opusdec.c index ec793c6c471..556acfe2df9 100644 --- a/libavcodec/opusdec.c +++ b/libavcodec/opusdec.c @@ -47,6 +47,7 @@ #include "internal.h" #include "mathops.h" #include "opus.h" +#include "opustab.h" static const uint16_t silk_frame_duration_ms[16] = { 10, 20, 40, 60, @@ -646,7 +647,6 @@ static av_cold int opus_decode_init(AVCodecContext *avctx) /* find out the channel configuration */ ret = ff_opus_parse_extradata(avctx, c); if (ret < 0) { - av_freep(&c->channel_maps); av_freep(&c->fdsp); return ret; }