diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-06-03 21:53:11 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-06-13 06:59:18 +0800 |
commit | 4b2863ff01b1fe93d9a518523c9098d17a9d8c6f (patch) | |
tree | 3d22950a39759f7cdc564480a5e4f292cafd3aaf /libavcodec/wmv2dec.c | |
parent | 42a38503600531ee34efbe07c6dffb41a11a5a1d (diff) | |
download | ffmpeg-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/wmv2dec.c')
-rw-r--r-- | libavcodec/wmv2dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/wmv2dec.c b/libavcodec/wmv2dec.c index afa65478e3..a16c4465f0 100644 --- a/libavcodec/wmv2dec.c +++ b/libavcodec/wmv2dec.c @@ -537,6 +537,7 @@ AVCodec ff_wmv2_decoder = { .close = wmv2_decode_end, .decode = ff_h263_decode_frame, .capabilities = AV_CODEC_CAP_DRAW_HORIZ_BAND | AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE }, }; |