From c9a79532e5ec4ea265d3a82f185fca6e196088c2 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 14 May 2021 12:59:07 +0200 Subject: [PATCH] avcodec/libx264: Fix redundant setting of caps_internal Exists since 8a129077cc37202a00dd666bd5365c3f61ea2e80. Fixes a -Winitializer-overrides warning when building with Clang. Reviewed-by: Anton Khirnov Signed-off-by: Andreas Rheinhardt --- libavcodec/libx264.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 22c91d8df7..1c27f7b441 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -1153,7 +1153,6 @@ AVCodec ff_libx264_encoder = { .close = X264_close, .capabilities = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_OTHER_THREADS | AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, - .caps_internal = FF_CODEC_CAP_AUTO_THREADS, .priv_class = &x264_class, .defaults = x264_defaults, #if X264_BUILD < 153