diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-23 04:09:56 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-08 17:51:48 +0100 |
commit | fd5d66af744462a97237fa0474e77924c71729ec (patch) | |
tree | d667d83320f82c5452163cea17bc0c1ddf9b325f | |
parent | 480761c82fcbf7e3571618b2226d2441a2ea45b8 (diff) | |
download | ffmpeg-fd5d66af744462a97237fa0474e77924c71729ec.tar.gz |
avcodec/wavpack: Fix leak on init failure
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/wavpack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index 58122c948c..3a72788a76 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -1712,5 +1712,5 @@ AVCodec ff_wavpack_decoder = { .update_thread_context = ONLY_IF_THREADS_ENABLED(update_thread_context), .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS | AV_CODEC_CAP_SLICE_THREADS, - .caps_internal = FF_CODEC_CAP_ALLOCATE_PROGRESS, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP | FF_CODEC_CAP_ALLOCATE_PROGRESS, }; |