aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-09-08 21:00:55 +0200
committerPaul B Mahol <onemda@gmail.com>2018-09-08 21:01:28 +0200
commit1e09dd96fe5c384113bdd6ffbe2411ebfefbc796 (patch)
tree461ac747220d5e68ae16d1e4e90654f481de7385
parente8b27b82d07794c59edefd163fccdb21c01326e7 (diff)
downloadffmpeg-1e09dd96fe5c384113bdd6ffbe2411ebfefbc796.tar.gz
avcodec/on2avc: decoder supports init_cleanup capability
-rw-r--r--libavcodec/on2avc.c1
1 files changed, 1 insertions, 0 deletions
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 },
};