From c7867b6ed113d1fe71664cd29914af575e285aa0 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 15 Sep 2020 08:33:22 +0200 Subject: avcodec/mpegaudiodec*: Cleanup generically on init failure Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegaudiodec_float.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/mpegaudiodec_float.c') diff --git a/libavcodec/mpegaudiodec_float.c b/libavcodec/mpegaudiodec_float.c index 0defdf3af1..4aa52d4f53 100644 --- a/libavcodec/mpegaudiodec_float.c +++ b/libavcodec/mpegaudiodec_float.c @@ -116,5 +116,6 @@ AVCodec ff_mp3on4float_decoder = { .flush = flush_mp3on4, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE }, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, }; #endif -- cgit v1.2.3