[FFmpeg-devel] [PATCH] avcodec/libx264: Fix redundant setting of caps_internal

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri May 14 14:01:36 EEST 2021


Exists since 8a129077cc37202a00dd666bd5365c3f61ea2e80.
Fixes a -Winitializer-overrides warning when building with Clang.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 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
-- 
2.27.0



More information about the ffmpeg-devel mailing list