diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2021-08-24 18:27:07 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2021-09-25 21:35:40 +0800 |
commit | 04b89e8ae33ba74e5cb5b3b770613fa599f9cb36 (patch) | |
tree | 0371e9d1198b657b715af67cb699ba51c1809609 | |
parent | d098e16f09870583562c374c5e2f932988f70f42 (diff) | |
download | ffmpeg-04b89e8ae33ba74e5cb5b3b770613fa599f9cb36.tar.gz |
avcodec/libsvtav1: Fix duplicate definition of caps_internal
Reviewed-by: Jan Ekström <jeebjp@gmail.com>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
-rw-r--r-- | libavcodec/libsvtav1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c index fabc4e6428..82ae2b9dbe 100644 --- a/libavcodec/libsvtav1.c +++ b/libavcodec/libsvtav1.c @@ -561,12 +561,11 @@ const AVCodec ff_libsvtav1_encoder = { .receive_packet = eb_receive_packet, .close = eb_enc_close, .capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_OTHER_THREADS, - .caps_internal = FF_CODEC_CAP_AUTO_THREADS, + .caps_internal = FF_CODEC_CAP_AUTO_THREADS | FF_CODEC_CAP_INIT_CLEANUP, .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV420P10, AV_PIX_FMT_NONE }, .priv_class = &class, .defaults = eb_enc_defaults, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .wrapper_name = "libsvtav1", }; |