avcodec/on2avc: decoder supports init_cleanup capability
authorPaul B Mahol <onemda@gmail.com>
Sat, 8 Sep 2018 19:00:55 +0000 (21:00 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 8 Sep 2018 19:01:28 +0000 (21:01 +0200)
libavcodec/on2avc.c

index 4e4be75..00e5bf5 100644 (file)
@@ -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 },
 };