avcodec/interplayacm: decoder supports init_cleanup capability
authorPaul B Mahol <onemda@gmail.com>
Sat, 8 Sep 2018 18:44:22 +0000 (20:44 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 8 Sep 2018 18:44:22 +0000 (20:44 +0200)
libavcodec/interplayacm.c

index c897e72..5639d8d 100644 (file)
@@ -629,5 +629,6 @@ AVCodec ff_interplay_acm_decoder = {
     .close          = decode_close,
     .decode         = decode_frame,
     .capabilities   = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_CLEANUP,
     .priv_data_size = sizeof(InterplayACMContext),
 };