summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-14 12:59:07 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-14 13:58:02 +0200
commitc9a79532e5ec4ea265d3a82f185fca6e196088c2 (patch)
tree7c6091f79126be24086a78d78f323a9d219a4546
parent37099f2132fddb89cf5350a84382efd16cb1ee92 (diff)
avcodec/libx264: Fix redundant setting of caps_internal
Exists since 8a129077cc37202a00dd666bd5365c3f61ea2e80. Fixes a -Winitializer-overrides warning when building with Clang. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/libx264.c1
1 files changed, 0 insertions, 1 deletions
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