and remove FF_CODEC_CAP_INIT_THREADSAFE All our native codecs are already init-threadsafe (only wrappers for external libraries and hwaccels are typically not marked as init-threadsafe yet), so it is only natural for this to also be the default state.
Showing the changes to libavcodec/dds.c (1 of 407 files). Show all
Unified · Split
| @@ -717,5 +717,4 @@ const FFCodec ff_dds_decoder = { · 716 unmodified lines | |||
| 717 | FF_CODEC_DECODE_CB(dds_decode), | 717 | FF_CODEC_DECODE_CB(dds_decode), |
| 718 | .priv_data_size = sizeof(DDSContext), | 718 | .priv_data_size = sizeof(DDSContext), |
| 719 | .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SLICE_THREADS, | 719 | .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SLICE_THREADS, |
| 720 | .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | ||
| 721 | }; | 720 | }; |