[FFmpeg-cvslog] avcodec/cook: decoder supports init_cleanup capability

Paul B Mahol git at videolan.org
Sat Sep 8 22:42:00 EEST 2018


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep  8 20:02:41 2018 +0200| [aaa3f115d8e4751f54bbb3aa47bf6e2008b8058b] | committer: Paul B Mahol

avcodec/cook: decoder supports init_cleanup capability

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aaa3f115d8e4751f54bbb3aa47bf6e2008b8058b
---

 libavcodec/cook.c | 1 +
 1 file changed, 1 insertion(+)

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 },
 };



More information about the ffmpeg-cvslog mailing list