aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodec_float.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-15 08:33:22 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-19 18:52:41 +0200
commitc7867b6ed113d1fe71664cd29914af575e285aa0 (patch)
treec29df3f4c3041644041082a2fd51e50c3ce18e85 /libavcodec/mpegaudiodec_float.c
parente9831b1e985a61f1f0089eccc877f2e5add2d58c (diff)
downloadffmpeg-c7867b6ed113d1fe71664cd29914af575e285aa0.tar.gz
avcodec/mpegaudiodec*: Cleanup generically on init failure
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mpegaudiodec_float.c')
-rw-r--r--libavcodec/mpegaudiodec_float.c1
1 files changed, 1 insertions, 0 deletions
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