mirror of https://git.ffmpeg.org/ffmpeg.git
libavcodec/speexdec: fix memleak in error path
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
f626a3d0e0
commit
a742ba60f1
|
@ -1586,5 +1586,5 @@ const AVCodec ff_speex_decoder = {
|
||||||
.close = speex_decode_close,
|
.close = speex_decode_close,
|
||||||
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
|
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
|
||||||
.priv_data_size = sizeof(SpeexContext),
|
.priv_data_size = sizeof(SpeexContext),
|
||||||
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
|
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue