ffmpeg | branch: master | Paul B Mahol <[email protected]> | Sat Sep  8 20:55:59 
2018 +0200| [e8b27b82d07794c59edefd163fccdb21c01326e7] | committer: Paul B Mahol

avcodec/mscc: decoders supports init_cleanup capability

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

 libavcodec/mscc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/mscc.c b/libavcodec/mscc.c
index 14480cbe13..86e4e88ed3 100644
--- a/libavcodec/mscc.c
+++ b/libavcodec/mscc.c
@@ -261,6 +261,7 @@ AVCodec ff_mscc_decoder = {
     .close            = decode_close,
     .decode           = decode_frame,
     .capabilities     = AV_CODEC_CAP_DR1,
+    .caps_internal    = FF_CODEC_CAP_INIT_CLEANUP,
 };
 
 AVCodec ff_srgc_decoder = {
@@ -273,4 +274,5 @@ AVCodec ff_srgc_decoder = {
     .close            = decode_close,
     .decode           = decode_frame,
     .capabilities     = AV_CODEC_CAP_DR1,
+    .caps_internal    = FF_CODEC_CAP_INIT_CLEANUP,
 };

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to