aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h261dec.c
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-06-03 21:53:11 +0800
committerLimin Wang <lance.lmwang@gmail.com>2020-06-13 06:59:18 +0800
commit4b2863ff01b1fe93d9a518523c9098d17a9d8c6f (patch)
tree3d22950a39759f7cdc564480a5e4f292cafd3aaf /libavcodec/h261dec.c
parent42a38503600531ee34efbe07c6dffb41a11a5a1d (diff)
downloadffmpeg-4b2863ff01b1fe93d9a518523c9098d17a9d8c6f.tar.gz
avcodec: add FF_CODEC_CAP_INIT_CLEANUP for all codecs which use ff_mpv_common_init()
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavcodec/h261dec.c')
-rw-r--r--libavcodec/h261dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index 14a874c45d..8a49e7d894 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -686,5 +686,6 @@ AVCodec ff_h261_decoder = {
.close = h261_decode_end,
.decode = h261_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_CLEANUP,
.max_lowres = 3,
};