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

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


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep  8 21:00:55 2018 +0200| [1e09dd96fe5c384113bdd6ffbe2411ebfefbc796] | committer: Paul B Mahol

avcodec/on2avc: decoder supports init_cleanup capability

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

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

diff --git a/libavcodec/on2avc.c b/libavcodec/on2avc.c
index 4e4be7530a..00e5bf5397 100644
--- a/libavcodec/on2avc.c
+++ b/libavcodec/on2avc.c
@@ -1018,6 +1018,7 @@ AVCodec ff_on2avc_decoder = {
     .decode         = on2avc_decode_frame,
     .close          = on2avc_decode_close,
     .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