aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-04-05 20:06:45 +0200
committerNiklas Haas <git@haasn.dev>2024-09-08 13:59:29 +0200
commit4524d527bf7215252abdaae9e09af7a252a5dcd8 (patch)
treebc079f5489e4f196ccedece97cd83bc4bf2c3df7 /libavcodec/allcodecs.c
parent2c2dfd914902d0b41b4bd30d4b19ae08af1d7bc1 (diff)
downloadffmpeg-4524d527bf7215252abdaae9e09af7a252a5dcd8.tar.gz
avcodec/codec_internal: nuke init_static_data()
All hail get_supported_config()
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 0d61b665af..d773ac36c2 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -915,13 +915,8 @@ static void av_codec_init_static(void)
{
int dummy;
for (int i = 0; codec_list[i]; i++) {
- const FFCodec *codec = codec_list[i];
- if (codec->init_static_data) {
- codec->init_static_data((FFCodec*) codec);
- continue;
- }
-
/* Backward compatibility with deprecated public fields */
+ const FFCodec *codec = codec_list[i];
if (!codec->get_supported_config)
continue;