Jelajahi Sumber

all: Don't set AVClass.item_name to its default value

Unnecessary since acf63d5350adeae551d412db699f8ca03f7e76b9;
also avoids relocations.

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Andreas Rheinhardt 1 tahun lalu
induk
melakukan
0c6203c97a
100 mengubah file dengan 0 tambahan dan 106 penghapusan
  1. 0 1
      fftools/ffmpeg_mux_init.c
  2. 0 1
      fftools/ffmpeg_opt.c
  3. 0 1
      fftools/ffplay_renderer.c
  4. 0 1
      fftools/opt_common.c
  5. 0 1
      libavcodec/aacdec_template.c
  6. 0 1
      libavcodec/aacenc.c
  7. 0 1
      libavcodec/ac3dec_fixed.c
  8. 0 1
      libavcodec/ac3dec_float.c
  9. 0 1
      libavcodec/ac3enc.c
  10. 0 1
      libavcodec/adpcmenc.c
  11. 0 1
      libavcodec/alac.c
  12. 0 1
      libavcodec/alacenc.c
  13. 0 1
      libavcodec/amfenc_av1.c
  14. 0 1
      libavcodec/amfenc_h264.c
  15. 0 1
      libavcodec/amfenc_hevc.c
  16. 0 1
      libavcodec/apedec.c
  17. 0 1
      libavcodec/audiotoolboxenc.c
  18. 0 1
      libavcodec/av1_metadata_bsf.c
  19. 0 1
      libavcodec/av1dec.c
  20. 0 1
      libavcodec/cbs_av1.c
  21. 0 1
      libavcodec/ccaption_dec.c
  22. 0 1
      libavcodec/cfhdenc.c
  23. 0 1
      libavcodec/cinepakenc.c
  24. 0 1
      libavcodec/cljrenc.c
  25. 0 1
      libavcodec/crystalhd.c
  26. 0 1
      libavcodec/cuviddec.c
  27. 0 1
      libavcodec/dcadec.c
  28. 0 1
      libavcodec/dcaenc.c
  29. 0 1
      libavcodec/dnxhdenc.c
  30. 0 1
      libavcodec/dolby_e.c
  31. 0 1
      libavcodec/dump_extradata_bsf.c
  32. 0 1
      libavcodec/dv_error_marker_bsf.c
  33. 0 1
      libavcodec/dvbsubdec.c
  34. 0 1
      libavcodec/dvdsubdec.c
  35. 0 1
      libavcodec/dvdsubenc.c
  36. 0 1
      libavcodec/dvenc.c
  37. 0 1
      libavcodec/eac3enc.c
  38. 0 1
      libavcodec/evrcdec.c
  39. 0 1
      libavcodec/exr.c
  40. 0 1
      libavcodec/exrenc.c
  41. 0 1
      libavcodec/extract_extradata_bsf.c
  42. 0 1
      libavcodec/ffv1enc.c
  43. 0 1
      libavcodec/fic.c
  44. 0 1
      libavcodec/filter_units_bsf.c
  45. 0 1
      libavcodec/fitsdec.c
  46. 0 1
      libavcodec/flacdec.c
  47. 0 1
      libavcodec/flacenc.c
  48. 0 1
      libavcodec/frwu.c
  49. 0 1
      libavcodec/g722dec.c
  50. 0 1
      libavcodec/g723_1dec.c
  51. 0 1
      libavcodec/g726.c
  52. 0 1
      libavcodec/gif.c
  53. 0 1
      libavcodec/gifdec.c
  54. 0 1
      libavcodec/h264_metadata_bsf.c
  55. 0 1
      libavcodec/h264dec.c
  56. 0 1
      libavcodec/h265_metadata_bsf.c
  57. 0 1
      libavcodec/h266_metadata_bsf.c
  58. 0 1
      libavcodec/hapenc.c
  59. 0 1
      libavcodec/hapqa_extract_bsf.c
  60. 0 1
      libavcodec/hevcdec.c
  61. 0 2
      libavcodec/huffyuvenc.c
  62. 0 2
      libavcodec/ituh263enc.c
  63. 0 1
      libavcodec/j2kenc.c
  64. 0 1
      libavcodec/jpeg2000dec.c
  65. 0 1
      libavcodec/jpeglsenc.c
  66. 0 1
      libavcodec/libaomenc.c
  67. 0 1
      libavcodec/libaribb24.c
  68. 0 1
      libavcodec/libaribcaption.c
  69. 0 1
      libavcodec/libcodec2.c
  70. 0 1
      libavcodec/libdav1d.c
  71. 0 1
      libavcodec/libfdk-aacdec.c
  72. 0 1
      libavcodec/libfdk-aacenc.c
  73. 0 2
      libavcodec/libilbc.c
  74. 0 1
      libavcodec/libjxlenc.c
  75. 0 1
      libavcodec/libkvazaar.c
  76. 0 1
      libavcodec/libmp3lame.c
  77. 0 1
      libavcodec/libopencore-amr.c
  78. 0 1
      libavcodec/libopenh264enc.c
  79. 0 1
      libavcodec/libopenjpegenc.c
  80. 0 1
      libavcodec/libopusdec.c
  81. 0 1
      libavcodec/libopusenc.c
  82. 0 1
      libavcodec/librav1e.c
  83. 0 1
      libavcodec/librsvgdec.c
  84. 0 1
      libavcodec/libspeexenc.c
  85. 0 1
      libavcodec/libsvtav1.c
  86. 0 1
      libavcodec/libtwolame.c
  87. 0 1
      libavcodec/libvo-amrwbenc.c
  88. 0 1
      libavcodec/libvorbisenc.c
  89. 0 2
      libavcodec/libvpxenc.c
  90. 0 1
      libavcodec/libwebpenc_common.c
  91. 0 3
      libavcodec/libx264.c
  92. 0 1
      libavcodec/libx265.c
  93. 0 1
      libavcodec/libxavs.c
  94. 0 1
      libavcodec/libxavs2.c
  95. 0 1
      libavcodec/libxevd.c
  96. 0 1
      libavcodec/libxeve.c
  97. 0 1
      libavcodec/libxvid.c
  98. 0 1
      libavcodec/libzvbi-teletextdec.c
  99. 0 1
      libavcodec/ljpegenc.c
  100. 0 1
      libavcodec/magicyuvenc.c

+ 0 - 1
fftools/ffmpeg_mux_init.c

@@ -2194,7 +2194,6 @@ static int of_parse_group_token(Muxer *mux, const char *token, char *ptr)
     };
     const AVClass class = {
         .class_name = "StreamGroupType",
-        .item_name  = av_default_item_name,
         .option     = opts,
         .version    = LIBAVUTIL_VERSION_INT,
     };

+ 0 - 1
fftools/ffmpeg_opt.c

@@ -332,7 +332,6 @@ static int opt_abort_on(void *optctx, const char *opt, const char *arg)
     };
     static const AVClass class = {
         .class_name = "",
-        .item_name  = av_default_item_name,
         .option     = opts,
         .version    = LIBAVUTIL_VERSION_INT,
     };

+ 0 - 1
fftools/ffplay_renderer.c

@@ -765,7 +765,6 @@ static void destroy(VkRenderer *renderer)
 
 static const AVClass vulkan_renderer_class = {
         .class_name = "Vulkan Renderer",
-        .item_name  = av_default_item_name,
         .version    = LIBAVUTIL_VERSION_INT,
 };
 

+ 0 - 1
fftools/opt_common.c

@@ -1069,7 +1069,6 @@ int opt_cpucount(void *optctx, const char *opt, const char *arg)
     };
     static const AVClass class = {
         .class_name = "cpucount",
-        .item_name  = av_default_item_name,
         .option     = opts,
         .version    = LIBAVUTIL_VERSION_INT,
     };

+ 0 - 1
libavcodec/aacdec_template.c

@@ -3447,7 +3447,6 @@ static const AVOption options[] = {
 
 static const AVClass aac_decoder_class = {
     .class_name = "AAC decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/aacenc.c

@@ -1407,7 +1407,6 @@ static const AVOption aacenc_options[] = {
 
 static const AVClass aacenc_class = {
     .class_name = "AAC encoder",
-    .item_name  = av_default_item_name,
     .option     = aacenc_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/ac3dec_fixed.c

@@ -165,7 +165,6 @@ static const AVOption options[] = {
 
 static const AVClass ac3_decoder_class = {
     .class_name = "Fixed-Point AC-3 Decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/ac3dec_float.c

@@ -56,7 +56,6 @@ static const AVOption options[] = {
 
 static const AVClass ac3_eac3_decoder_class = {
     .class_name = "(E-)AC3 decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/ac3enc.c

@@ -130,7 +130,6 @@ const AVOption ff_ac3_enc_options[] = {
 
 const AVClass ff_ac3enc_class = {
     .class_name = "AC-3 Encoder",
-    .item_name  = av_default_item_name,
     .option     = ff_ac3_enc_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/adpcmenc.c

@@ -989,7 +989,6 @@ static const AVOption options[] = {
 
 static const AVClass adpcm_encoder_class = {
     .class_name = "ADPCM encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/alac.c

@@ -611,7 +611,6 @@ static const AVOption options[] = {
 
 static const AVClass alac_class = {
     .class_name = "alac",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/alacenc.c

@@ -643,7 +643,6 @@ static const AVOption options[] = {
 
 static const AVClass alacenc_class = {
     .class_name = "alacenc",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/amfenc_av1.c

@@ -465,7 +465,6 @@ static const FFCodecDefault defaults[] = {
 
 static const AVClass av1_amf_class = {
     .class_name = "av1_amf",
-    .item_name = av_default_item_name,
     .option = options,
     .version = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/amfenc_h264.c

@@ -518,7 +518,6 @@ static const FFCodecDefault defaults[] = {
 
 static const AVClass h264_amf_class = {
     .class_name = "h264_amf",
-    .item_name = av_default_item_name,
     .option = options,
     .version = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/amfenc_hevc.c

@@ -433,7 +433,6 @@ static const FFCodecDefault defaults[] = {
 };
 static const AVClass hevc_amf_class = {
     .class_name = "hevc_amf",
-    .item_name = av_default_item_name,
     .option = options,
     .version = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/apedec.c

@@ -1744,7 +1744,6 @@ static const AVOption options[] = {
 
 static const AVClass ape_decoder_class = {
     .class_name = "APE decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/audiotoolboxenc.c

@@ -610,7 +610,6 @@ static const AVOption options[] = {
 #define FFAT_ENC_CLASS(NAME) \
     static const AVClass ffat_##NAME##_enc_class = { \
         .class_name = "at_" #NAME "_enc", \
-        .item_name  = av_default_item_name, \
         .option     = options, \
         .version    = LIBAVUTIL_VERSION_INT, \
     };

+ 0 - 1
libavcodec/av1_metadata_bsf.c

@@ -211,7 +211,6 @@ static const AVOption av1_metadata_options[] = {
 
 static const AVClass av1_metadata_class = {
     .class_name = "av1_metadata_bsf",
-    .item_name  = av_default_item_name,
     .option     = av1_metadata_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/av1dec.c

@@ -1485,7 +1485,6 @@ static const AVOption av1_options[] = {
 
 static const AVClass av1_class = {
     .class_name = "AV1 decoder",
-    .item_name  = av_default_item_name,
     .option     = av1_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/cbs_av1.c

@@ -1277,7 +1277,6 @@ static const AVOption cbs_av1_options[] = {
 
 static const AVClass cbs_av1_class = {
     .class_name = "cbs_av1",
-    .item_name  = av_default_item_name,
     .option     = cbs_av1_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/ccaption_dec.c

@@ -934,7 +934,6 @@ static const AVOption options[] = {
 
 static const AVClass ccaption_dec_class = {
     .class_name = "Closed caption Decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/cfhdenc.c

@@ -849,7 +849,6 @@ static const AVOption options[] = {
 
 static const AVClass cfhd_class = {
     .class_name = "cfhd",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/cinepakenc.c

@@ -148,7 +148,6 @@ static const AVOption options[] = {
 
 static const AVClass cinepak_class = {
     .class_name = "cinepak",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/cljrenc.c

@@ -103,7 +103,6 @@ static const AVOption options[] = {
 
 static const AVClass cljr_class = {
     .class_name = "cljr encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/crystalhd.c

@@ -778,7 +778,6 @@ static int crystalhd_receive_frame(AVCodecContext *avctx, AVFrame *frame)
 #define DEFINE_CRYSTALHD_DECODER(x, X, bsf_name) \
     static const AVClass x##_crystalhd_class = { \
         .class_name = #x "_crystalhd", \
-        .item_name = av_default_item_name, \
         .option = options, \
         .version = LIBAVUTIL_VERSION_INT, \
     }; \

+ 0 - 1
libavcodec/cuviddec.c

@@ -1155,7 +1155,6 @@ static const AVCodecHWConfigInternal *const cuvid_hw_configs[] = {
 #define DEFINE_CUVID_CODEC(x, X, bsf_name) \
     static const AVClass x##_cuvid_class = { \
         .class_name = #x "_cuvid", \
-        .item_name = av_default_item_name, \
         .option = options, \
         .version = LIBAVUTIL_VERSION_INT, \
     }; \

+ 0 - 1
libavcodec/dcadec.c

@@ -410,7 +410,6 @@ static const AVOption dcadec_options[] = {
 
 static const AVClass dcadec_class = {
     .class_name = "DCA decoder",
-    .item_name  = av_default_item_name,
     .option     = dcadec_options,
     .version    = LIBAVUTIL_VERSION_INT,
     .category   = AV_CLASS_CATEGORY_DECODER,

+ 0 - 1
libavcodec/dcaenc.c

@@ -1300,7 +1300,6 @@ static const AVOption options[] = {
 
 static const AVClass dcaenc_class = {
     .class_name = "DCA (DTS Coherent Acoustics)",
-    .item_name = av_default_item_name,
     .option = options,
     .version = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/dnxhdenc.c

@@ -73,7 +73,6 @@ static const AVOption options[] = {
 
 static const AVClass dnxhd_class = {
     .class_name = "dnxhd",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/dolby_e.c

@@ -1300,7 +1300,6 @@ static const AVOption options[] = {
 
 static const AVClass dolby_e_decoder_class = {
     .class_name = "Dolby E decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/dump_extradata_bsf.c

@@ -93,7 +93,6 @@ static const AVOption options[] = {
 
 static const AVClass dump_extradata_class = {
     .class_name = "dump_extradata bsf",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/dv_error_marker_bsf.c

@@ -123,7 +123,6 @@ static const AVOption options[] = {
 
 static const AVClass dv_error_marker_class = {
     .class_name = "dv_error_marker",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/dvbsubdec.c

@@ -1564,7 +1564,6 @@ static const AVOption options[] = {
 };
 static const AVClass dvbsubdec_class = {
     .class_name = "DVB Sub Decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/dvdsubdec.c

@@ -701,7 +701,6 @@ static const AVOption options[] = {
 };
 static const AVClass dvdsub_class = {
     .class_name = "dvdsubdec",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/dvdsubenc.c

@@ -496,7 +496,6 @@ static const AVOption options[] = {
 
 static const AVClass dvdsubenc_class = {
     .class_name = "VOBSUB subtitle encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/dvenc.c

@@ -1231,7 +1231,6 @@ static const AVOption dv_options[] = {
 
 static const AVClass dvvideo_encode_class = {
     .class_name = "dvvideo encoder",
-    .item_name  = av_default_item_name,
     .option     = dv_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/eac3enc.c

@@ -35,7 +35,6 @@
 
 static const AVClass eac3enc_class = {
     .class_name = "E-AC-3 Encoder",
-    .item_name  = av_default_item_name,
     .option     = &ff_ac3_enc_options[2], /* First two options are AC-3 only. */
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/evrcdec.c

@@ -924,7 +924,6 @@ static const AVOption options[] = {
 
 static const AVClass evrcdec_class = {
     .class_name = "evrc",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/exr.c

@@ -2345,7 +2345,6 @@ static const AVOption options[] = {
 
 static const AVClass exr_class = {
     .class_name = "EXR",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/exrenc.c

@@ -535,7 +535,6 @@ static const AVOption options[] = {
 
 static const AVClass exr_class = {
     .class_name = "exr",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/extract_extradata_bsf.c

@@ -457,7 +457,6 @@ static const AVOption options[] = {
 
 static const AVClass extract_extradata_class = {
     .class_name = "extract_extradata",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/ffv1enc.c

@@ -1263,7 +1263,6 @@ static const AVOption options[] = {
 
 static const AVClass ffv1_class = {
     .class_name = "ffv1 encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/fic.c

@@ -479,7 +479,6 @@ static const AVOption options[] = {
 
 static const AVClass fic_decoder_class = {
     .class_name = "FIC decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/filter_units_bsf.c

@@ -268,7 +268,6 @@ static const AVOption filter_units_options[] = {
 
 static const AVClass filter_units_class = {
     .class_name = "filter_units",
-    .item_name  = av_default_item_name,
     .option     = filter_units_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/fitsdec.c

@@ -316,7 +316,6 @@ static const AVOption fits_options[] = {
 
 static const AVClass fits_decoder_class = {
     .class_name = "FITS decoder",
-    .item_name  = av_default_item_name,
     .option     = fits_options,
     .version    = LIBAVUTIL_VERSION_INT,
     .category   = AV_CLASS_CATEGORY_DECODER,

+ 0 - 1
libavcodec/flacdec.c

@@ -820,7 +820,6 @@ static const AVOption options[] = {
 
 static const AVClass flac_decoder_class = {
     .class_name = "FLAC decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/flacenc.c

@@ -1743,7 +1743,6 @@ static const AVOption options[] = {
 
 static const AVClass flac_encoder_class = {
     .class_name = "FLAC encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/frwu.c

@@ -110,7 +110,6 @@ static const AVOption frwu_options[] = {
 
 static const AVClass frwu_class = {
     .class_name = "frwu Decoder",
-    .item_name  = av_default_item_name,
     .option     = frwu_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/g722dec.c

@@ -51,7 +51,6 @@ static const AVOption options[] = {
 
 static const AVClass g722_decoder_class = {
     .class_name = "g722 decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/g723_1dec.c

@@ -1105,7 +1105,6 @@ static const AVOption options[] = {
 
 static const AVClass g723_1dec_class = {
     .class_name = "G.723.1 decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/g726.c

@@ -388,7 +388,6 @@ static const AVOption options[] = {
 
 static const AVClass g726_class = {
     .class_name = "g726",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/gif.c

@@ -542,7 +542,6 @@ static const AVOption gif_options[] = {
 
 static const AVClass gif_class = {
     .class_name = "GIF encoder",
-    .item_name  = av_default_item_name,
     .option     = gif_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/gifdec.c

@@ -542,7 +542,6 @@ static const AVOption options[] = {
 
 static const AVClass decoder_class = {
     .class_name = "gif decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
     .category   = AV_CLASS_CATEGORY_DECODER,

+ 0 - 1
libavcodec/h264_metadata_bsf.c

@@ -703,7 +703,6 @@ static const AVOption h264_metadata_options[] = {
 
 static const AVClass h264_metadata_class = {
     .class_name = "h264_metadata_bsf",
-    .item_name  = av_default_item_name,
     .option     = h264_metadata_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/h264dec.c

@@ -1104,7 +1104,6 @@ static const AVOption h264_options[] = {
 
 static const AVClass h264_class = {
     .class_name = "H264 Decoder",
-    .item_name  = av_default_item_name,
     .option     = h264_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/h265_metadata_bsf.c

@@ -483,7 +483,6 @@ static const AVOption h265_metadata_options[] = {
 
 static const AVClass h265_metadata_class = {
     .class_name = "h265_metadata_bsf",
-    .item_name  = av_default_item_name,
     .option     = h265_metadata_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/h266_metadata_bsf.c

@@ -130,7 +130,6 @@ static const AVOption h266_metadata_options[] = {
 
 static const AVClass h266_metadata_class = {
     .class_name = "h266_metadata_bsf",
-    .item_name  = av_default_item_name,
     .option     = h266_metadata_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/hapenc.c

@@ -341,7 +341,6 @@ static const AVOption options[] = {
 
 static const AVClass hapenc_class = {
     .class_name = "Hap encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/hapqa_extract_bsf.c

@@ -120,7 +120,6 @@ static const AVOption options[] = {
 
 static const AVClass hapqa_extract_class = {
     .class_name = "hapqa_extract_bsf",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/hevcdec.c

@@ -3676,7 +3676,6 @@ static const AVOption options[] = {
 
 static const AVClass hevc_decoder_class = {
     .class_name = "HEVC decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 2
libavcodec/huffyuvenc.c

@@ -1066,14 +1066,12 @@ static const AVOption ff_options[] = {
 
 static const AVClass normal_class = {
     .class_name = "huffyuv",
-    .item_name  = av_default_item_name,
     .option     = normal_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
 static const AVClass ff_class = {
     .class_name = "ffvhuff",
-    .item_name  = av_default_item_name,
     .option     = ff_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 2
libavcodec/ituh263enc.c

@@ -896,7 +896,6 @@ static const AVOption h263_options[] = {
 
 static const AVClass h263_class = {
     .class_name = "H.263 encoder",
-    .item_name  = av_default_item_name,
     .option     = h263_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };
@@ -927,7 +926,6 @@ static const AVOption h263p_options[] = {
 };
 static const AVClass h263p_class = {
     .class_name = "H.263p encoder",
-    .item_name  = av_default_item_name,
     .option     = h263p_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/j2kenc.c

@@ -1827,7 +1827,6 @@ static const AVOption options[] = {
 
 static const AVClass j2k_class = {
     .class_name = "jpeg 2000 encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/jpeg2000dec.c

@@ -2543,7 +2543,6 @@ static const AVOption options[] = {
 
 static const AVClass jpeg2000_class = {
     .class_name = "jpeg2000",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/jpeglsenc.c

@@ -466,7 +466,6 @@ static const AVOption options[] = {
 
 static const AVClass jpegls_class = {
     .class_name = "jpegls",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libaomenc.c

@@ -1546,7 +1546,6 @@ static const FFCodecDefault defaults[] = {
 
 static const AVClass class_aom = {
     .class_name = "libaom-av1 encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libaribb24.c

@@ -387,7 +387,6 @@ static const AVOption options[] = {
 
 static const AVClass aribb24_class = {
     .class_name = "libaribb24 decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libaribcaption.c

@@ -1161,7 +1161,6 @@ static const AVOption options[] = {
 
 static const AVClass aribcaption_class = {
     .class_name = "aribcaption decoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libcodec2.c

@@ -43,7 +43,6 @@ static const AVOption options[] = {
 
 static const AVClass libcodec2_enc_class = {
     .class_name = "libcodec2 encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libdav1d.c

@@ -682,7 +682,6 @@ static const AVOption libdav1d_options[] = {
 
 static const AVClass libdav1d_class = {
     .class_name = "libdav1d decoder",
-    .item_name  = av_default_item_name,
     .option     = libdav1d_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libfdk-aacdec.c

@@ -105,7 +105,6 @@ static const AVOption fdk_aac_dec_options[] = {
 
 static const AVClass fdk_aac_dec_class = {
     .class_name = "libfdk-aac decoder",
-    .item_name  = av_default_item_name,
     .option     = fdk_aac_dec_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libfdk-aacenc.c

@@ -86,7 +86,6 @@ static const AVOption aac_enc_options[] = {
 
 static const AVClass aac_enc_class = {
     .class_name = "libfdk_aac",
-    .item_name  = av_default_item_name,
     .option     = aac_enc_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 2
libavcodec/libilbc.c

@@ -62,7 +62,6 @@ static const AVOption ilbc_dec_options[] = {
 
 static const AVClass ilbc_dec_class = {
     .class_name = "libilbc",
-    .item_name  = av_default_item_name,
     .option     = ilbc_dec_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };
@@ -147,7 +146,6 @@ static const AVOption ilbc_enc_options[] = {
 
 static const AVClass ilbc_enc_class = {
     .class_name = "libilbc",
-    .item_name  = av_default_item_name,
     .option     = ilbc_enc_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libjxlenc.c

@@ -471,7 +471,6 @@ static const AVOption libjxl_encode_options[] = {
 
 static const AVClass libjxl_encode_class = {
     .class_name = "libjxl",
-    .item_name  = av_default_item_name,
     .option     = libjxl_encode_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libkvazaar.c

@@ -316,7 +316,6 @@ static const AVOption options[] = {
 
 static const AVClass class = {
     .class_name = "libkvazaar",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libmp3lame.c

@@ -321,7 +321,6 @@ static const AVOption options[] = {
 
 static const AVClass libmp3lame_class = {
     .class_name = "libmp3lame encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libopencore-amr.c

@@ -190,7 +190,6 @@ static const AVOption options[] = {
 
 static const AVClass amrnb_class = {
     .class_name = "libopencore_amrnb",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libopenh264enc.c

@@ -90,7 +90,6 @@ static const AVOption options[] = {
 
 static const AVClass class = {
     .class_name = "libopenh264enc",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libopenjpegenc.c

@@ -749,7 +749,6 @@ static const AVOption options[] = {
 
 static const AVClass openjpeg_class = {
     .class_name = "libopenjpeg",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libopusdec.c

@@ -225,7 +225,6 @@ static const AVOption libopusdec_options[] = {
 
 static const AVClass libopusdec_class = {
     .class_name = "libopusdec",
-    .item_name  = av_default_item_name,
     .option     = libopusdec_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libopusenc.c

@@ -564,7 +564,6 @@ static const AVOption libopus_options[] = {
 
 static const AVClass libopus_class = {
     .class_name = "libopus",
-    .item_name  = av_default_item_name,
     .option     = libopus_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/librav1e.c

@@ -667,7 +667,6 @@ const enum AVPixelFormat librav1e_pix_fmts[] = {
 
 static const AVClass class = {
     .class_name = "librav1e",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/librsvgdec.c

@@ -156,7 +156,6 @@ static const AVOption options[] = {
 
 static const AVClass librsvg_decoder_class = {
     .class_name = "Librsvg",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libspeexenc.c

@@ -330,7 +330,6 @@ static const AVOption options[] = {
 
 static const AVClass speex_class = {
     .class_name = "libspeex",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libsvtav1.c

@@ -671,7 +671,6 @@ static const AVOption options[] = {
 
 static const AVClass class = {
     .class_name = "libsvtav1",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libtwolame.c

@@ -194,7 +194,6 @@ static const AVOption options[] = {
 
 static const AVClass twolame_class = {
     .class_name = "libtwolame encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libvo-amrwbenc.c

@@ -47,7 +47,6 @@ static const AVOption options[] = {
 
 static const AVClass amrwb_class = {
     .class_name = "libvo_amrwbenc",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libvorbisenc.c

@@ -67,7 +67,6 @@ static const FFCodecDefault defaults[] = {
 
 static const AVClass vorbis_class = {
     .class_name = "libvorbis",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 2
libavcodec/libvpxenc.c

@@ -2023,7 +2023,6 @@ static av_cold int vp8_init(AVCodecContext *avctx)
 
 static const AVClass class_vp8 = {
     .class_name = "libvpx-vp8 encoder",
-    .item_name  = av_default_item_name,
     .option     = vp8_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };
@@ -2096,7 +2095,6 @@ static av_cold void vp9_init_static(FFCodec *codec)
 
 static const AVClass class_vp9 = {
     .class_name = "libvpx-vp9 encoder",
-    .item_name  = av_default_item_name,
     .option     = vp9_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libwebpenc_common.c

@@ -53,7 +53,6 @@ static const AVOption options[] = {
 
 const AVClass ff_libwebpenc_class = {
     .class_name = "libwebp encoder",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 3
libavcodec/libx264.c

@@ -1462,7 +1462,6 @@ static const FFCodecDefault x264_defaults[] = {
 #if CONFIG_LIBX264_ENCODER
 static const AVClass x264_class = {
     .class_name = "libx264",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };
@@ -1504,7 +1503,6 @@ FFCodec ff_libx264_encoder = {
 #if CONFIG_LIBX264RGB_ENCODER
 static const AVClass rgbclass = {
     .class_name = "libx264rgb",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };
@@ -1536,7 +1534,6 @@ const FFCodec ff_libx264rgb_encoder = {
 #if CONFIG_LIBX262_ENCODER
 static const AVClass X262_class = {
     .class_name = "libx262",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libx265.c

@@ -873,7 +873,6 @@ static const AVOption options[] = {
 
 static const AVClass class = {
     .class_name = "libx265",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libxavs.c

@@ -411,7 +411,6 @@ static const AVOption options[] = {
 
 static const AVClass xavs_class = {
     .class_name = "libxavs",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libxavs2.c

@@ -274,7 +274,6 @@ static const AVOption options[] = {
 
 static const AVClass libxavs2 = {
     .class_name = "XAVS2EContext",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libxevd.c

@@ -517,7 +517,6 @@ static av_cold int libxevd_close(AVCodecContext *avctx)
 
 static const AVClass libxevd_class = {
     .class_name = "libxevd",
-    .item_name  = av_default_item_name,
     .version    = LIBAVUTIL_VERSION_INT,
 };
 

+ 0 - 1
libavcodec/libxeve.c

@@ -580,7 +580,6 @@ static const AVOption libxeve_options[] = {
 
 static const AVClass libxeve_class = {
     .class_name = "libxeve",
-    .item_name  = av_default_item_name,
     .option     = libxeve_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libxvid.c

@@ -892,7 +892,6 @@ static const AVOption options[] = {
 
 static const AVClass xvid_class = {
     .class_name = "libxvid",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/libzvbi-teletextdec.c

@@ -806,7 +806,6 @@ static const AVOption options[] = {
 
 static const AVClass teletext_class = {
     .class_name = "libzvbi_teletextdec",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/ljpegenc.c

@@ -306,7 +306,6 @@ static const AVOption options[] = {
 
 static const AVClass ljpeg_class = {
     .class_name = "ljpeg",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

+ 0 - 1
libavcodec/magicyuvenc.c

@@ -666,7 +666,6 @@ static const AVOption options[] = {
 
 static const AVClass magicyuv_class = {
     .class_name = "magicyuv",
-    .item_name  = av_default_item_name,
     .option     = options,
     .version    = LIBAVUTIL_VERSION_INT,
 };

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini