Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-09-08 21:02:41 +0300
committerPaul B Mahol <onemda@gmail.com>2018-09-08 21:02:41 +0300
commitaaa3f115d8e4751f54bbb3aa47bf6e2008b8058b (patch)
treedaa8777e659bab02b0f6a7a693e73eab5344b550 /libavcodec/cook.c
parent068412f2e88b9fde731894bca685c25b985ec8e1 (diff)
avcodec/cook: decoder supports init_cleanup capability
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r--libavcodec/cook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 53cb83852e..c5f68c98ba 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -1282,6 +1282,7 @@ AVCodec ff_cook_decoder = {
.close = cook_decode_close,
.decode = cook_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
AV_SAMPLE_FMT_NONE },
};