diff mbox series

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

Message ID HE1PR0301MB21546D6107EAFDAFE4ED040F8F509@HE1PR0301MB2154.eurprd03.prod.outlook.com
State Accepted
Commit c9a79532e5ec4ea265d3a82f185fca6e196088c2
Headers show
Series [FFmpeg-devel] avcodec/libx264: Fix redundant setting of caps_internal | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt May 14, 2021, 11:01 a.m. UTC
Exists since 8a129077cc37202a00dd666bd5365c3f61ea2e80.
Fixes a -Winitializer-overrides warning when building with Clang.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/libx264.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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