aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-01-19 13:33:28 +0100
committerAnton Khirnov <anton@khirnov.net>2024-01-20 10:34:48 +0100
commit08bebeb1bed3feee99d30cd6066d3466291dc8ed (patch)
tree89bcdd9a892d3a837b1a09d3ab0bde48557c4049 /libavcodec
parenta8bc79c3fd96a8287e241e6913ad5cf4d4838f5c (diff)
downloadffmpeg-08bebeb1bed3feee99d30cd6066d3466291dc8ed.tar.gz
Revert "all: Don't set AVClass.item_name to its default value"
Some callers assume that item_name is always set, so this may be considered an API break. This reverts commit 0c6203c97a99f69dbaa6e4011d48c331e1111f5e.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aacdec_template.c1
-rw-r--r--libavcodec/aacenc.c1
-rw-r--r--libavcodec/ac3dec_fixed.c1
-rw-r--r--libavcodec/ac3dec_float.c1
-rw-r--r--libavcodec/ac3enc.c1
-rw-r--r--libavcodec/adpcmenc.c1
-rw-r--r--libavcodec/alac.c1
-rw-r--r--libavcodec/alacenc.c1
-rw-r--r--libavcodec/amfenc_av1.c1
-rw-r--r--libavcodec/amfenc_h264.c1
-rw-r--r--libavcodec/amfenc_hevc.c1
-rw-r--r--libavcodec/apedec.c1
-rw-r--r--libavcodec/audiotoolboxenc.c1
-rw-r--r--libavcodec/av1_metadata_bsf.c1
-rw-r--r--libavcodec/av1dec.c1
-rw-r--r--libavcodec/cbs_av1.c1
-rw-r--r--libavcodec/ccaption_dec.c1
-rw-r--r--libavcodec/cfhdenc.c1
-rw-r--r--libavcodec/cinepakenc.c1
-rw-r--r--libavcodec/cljrenc.c1
-rw-r--r--libavcodec/crystalhd.c1
-rw-r--r--libavcodec/cuviddec.c1
-rw-r--r--libavcodec/dcadec.c1
-rw-r--r--libavcodec/dcaenc.c1
-rw-r--r--libavcodec/dnxhdenc.c1
-rw-r--r--libavcodec/dolby_e.c1
-rw-r--r--libavcodec/dump_extradata_bsf.c1
-rw-r--r--libavcodec/dv_error_marker_bsf.c1
-rw-r--r--libavcodec/dvbsubdec.c1
-rw-r--r--libavcodec/dvdsubdec.c1
-rw-r--r--libavcodec/dvdsubenc.c1
-rw-r--r--libavcodec/dvenc.c1
-rw-r--r--libavcodec/eac3enc.c1
-rw-r--r--libavcodec/evrcdec.c1
-rw-r--r--libavcodec/exr.c1
-rw-r--r--libavcodec/exrenc.c1
-rw-r--r--libavcodec/extract_extradata_bsf.c1
-rw-r--r--libavcodec/ffv1enc.c1
-rw-r--r--libavcodec/fic.c1
-rw-r--r--libavcodec/filter_units_bsf.c1
-rw-r--r--libavcodec/fitsdec.c1
-rw-r--r--libavcodec/flacdec.c1
-rw-r--r--libavcodec/flacenc.c1
-rw-r--r--libavcodec/frwu.c1
-rw-r--r--libavcodec/g722dec.c1
-rw-r--r--libavcodec/g723_1dec.c1
-rw-r--r--libavcodec/g726.c1
-rw-r--r--libavcodec/gif.c1
-rw-r--r--libavcodec/gifdec.c1
-rw-r--r--libavcodec/h264_metadata_bsf.c1
-rw-r--r--libavcodec/h264dec.c1
-rw-r--r--libavcodec/h265_metadata_bsf.c1
-rw-r--r--libavcodec/h266_metadata_bsf.c1
-rw-r--r--libavcodec/hapenc.c1
-rw-r--r--libavcodec/hapqa_extract_bsf.c1
-rw-r--r--libavcodec/hevcdec.c1
-rw-r--r--libavcodec/huffyuvenc.c2
-rw-r--r--libavcodec/ituh263enc.c2
-rw-r--r--libavcodec/j2kenc.c1
-rw-r--r--libavcodec/jpeg2000dec.c1
-rw-r--r--libavcodec/jpeglsenc.c1
-rw-r--r--libavcodec/libaomenc.c1
-rw-r--r--libavcodec/libaribb24.c1
-rw-r--r--libavcodec/libaribcaption.c1
-rw-r--r--libavcodec/libcodec2.c1
-rw-r--r--libavcodec/libdav1d.c1
-rw-r--r--libavcodec/libfdk-aacdec.c1
-rw-r--r--libavcodec/libfdk-aacenc.c1
-rw-r--r--libavcodec/libilbc.c2
-rw-r--r--libavcodec/libjxlenc.c1
-rw-r--r--libavcodec/libkvazaar.c1
-rw-r--r--libavcodec/libmp3lame.c1
-rw-r--r--libavcodec/libopencore-amr.c1
-rw-r--r--libavcodec/libopenh264enc.c1
-rw-r--r--libavcodec/libopenjpegenc.c1
-rw-r--r--libavcodec/libopusdec.c1
-rw-r--r--libavcodec/libopusenc.c1
-rw-r--r--libavcodec/librav1e.c1
-rw-r--r--libavcodec/librsvgdec.c1
-rw-r--r--libavcodec/libspeexenc.c1
-rw-r--r--libavcodec/libsvtav1.c1
-rw-r--r--libavcodec/libtwolame.c1
-rw-r--r--libavcodec/libvo-amrwbenc.c1
-rw-r--r--libavcodec/libvorbisenc.c1
-rw-r--r--libavcodec/libvpxenc.c2
-rw-r--r--libavcodec/libwebpenc_common.c1
-rw-r--r--libavcodec/libx264.c3
-rw-r--r--libavcodec/libx265.c1
-rw-r--r--libavcodec/libxavs.c1
-rw-r--r--libavcodec/libxavs2.c1
-rw-r--r--libavcodec/libxevd.c1
-rw-r--r--libavcodec/libxeve.c1
-rw-r--r--libavcodec/libxvid.c1
-rw-r--r--libavcodec/libzvbi-teletextdec.c1
-rw-r--r--libavcodec/ljpegenc.c1
-rw-r--r--libavcodec/magicyuvenc.c1
-rw-r--r--libavcodec/mediacodec_wrapper.c4
-rw-r--r--libavcodec/mediacodecdec.c1
-rw-r--r--libavcodec/mediacodecenc.c1
-rw-r--r--libavcodec/mfenc.c1
-rw-r--r--libavcodec/mjpegdec.c1
-rw-r--r--libavcodec/mjpegenc.c2
-rw-r--r--libavcodec/mlpdec.c2
-rw-r--r--libavcodec/mlpenc.c1
-rw-r--r--libavcodec/mmaldec.c1
-rw-r--r--libavcodec/movtextdec.c1
-rw-r--r--libavcodec/movtextenc.c1
-rw-r--r--libavcodec/mpeg12enc.c1
-rw-r--r--libavcodec/mpeg2_metadata_bsf.c1
-rw-r--r--libavcodec/mpeg4videodec.c1
-rw-r--r--libavcodec/mpeg4videoenc.c1
-rw-r--r--libavcodec/mpegvideo_enc.c1
-rw-r--r--libavcodec/noise_bsf.c1
-rw-r--r--libavcodec/nvenc_av1.c1
-rw-r--r--libavcodec/nvenc_h264.c1
-rw-r--r--libavcodec/nvenc_hevc.c1
-rw-r--r--libavcodec/omx.c2
-rw-r--r--libavcodec/opus_metadata_bsf.c1
-rw-r--r--libavcodec/opusdec.c1
-rw-r--r--libavcodec/opusenc.c1
-rw-r--r--libavcodec/pcm_rechunk_bsf.c1
-rw-r--r--libavcodec/pgssubdec.c1
-rw-r--r--libavcodec/photocd.c1
-rw-r--r--libavcodec/pngenc.c1
-rw-r--r--libavcodec/prores_metadata_bsf.c1
-rw-r--r--libavcodec/proresenc_anatoliy.c1
-rw-r--r--libavcodec/proresenc_kostya.c1
-rw-r--r--libavcodec/qsvdec.c1
-rw-r--r--libavcodec/qsvenc_av1.c1
-rw-r--r--libavcodec/qsvenc_h264.c1
-rw-r--r--libavcodec/qsvenc_hevc.c1
-rw-r--r--libavcodec/qsvenc_jpeg.c1
-rw-r--r--libavcodec/qsvenc_mpeg2.c1
-rw-r--r--libavcodec/qsvenc_vp9.c1
-rw-r--r--libavcodec/rasc.c1
-rw-r--r--libavcodec/remove_extradata_bsf.c1
-rw-r--r--libavcodec/roqvideoenc.c1
-rw-r--r--libavcodec/rpzaenc.c1
-rw-r--r--libavcodec/s302m.c1
-rw-r--r--libavcodec/sbcenc.c1
-rw-r--r--libavcodec/setts_bsf.c1
-rw-r--r--libavcodec/sgienc.c1
-rw-r--r--libavcodec/snowenc.c1
-rw-r--r--libavcodec/sunrastenc.c1
-rw-r--r--libavcodec/svq1enc.c1
-rw-r--r--libavcodec/targaenc.c1
-rw-r--r--libavcodec/textdec.c1
-rw-r--r--libavcodec/tiff.c1
-rw-r--r--libavcodec/tiffenc.c1
-rw-r--r--libavcodec/tta.c1
-rw-r--r--libavcodec/utvideoenc.c1
-rw-r--r--libavcodec/v210dec.c1
-rw-r--r--libavcodec/v4l2_m2m_dec.c1
-rw-r--r--libavcodec/v4l2_m2m_enc.c1
-rw-r--r--libavcodec/vaapi_encode_av1.c1
-rw-r--r--libavcodec/vaapi_encode_h264.c1
-rw-r--r--libavcodec/vaapi_encode_h265.c1
-rw-r--r--libavcodec/vaapi_encode_mjpeg.c1
-rw-r--r--libavcodec/vaapi_encode_mpeg2.c1
-rw-r--r--libavcodec/vaapi_encode_vp8.c1
-rw-r--r--libavcodec/vaapi_encode_vp9.c1
-rw-r--r--libavcodec/vbnenc.c1
-rw-r--r--libavcodec/vc2enc.c1
-rw-r--r--libavcodec/videotoolboxenc.c3
-rw-r--r--libavcodec/vorbis_parser.c1
-rw-r--r--libavcodec/vp9_metadata_bsf.c1
-rw-r--r--libavcodec/wavpackenc.c1
167 files changed, 181 insertions, 0 deletions
diff --git a/libavcodec/aacdec_template.c b/libavcodec/aacdec_template.c
index 9975805573..2b3509c85f 100644
--- a/libavcodec/aacdec_template.c
+++ b/libavcodec/aacdec_template.c
@@ -3447,6 +3447,7 @@ 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,
};
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 20d42a627b..83c23cc2de 100644
--- a/libavcodec/aacenc.c
+++ b/libavcodec/aacenc.c
@@ -1407,6 +1407,7 @@ 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,
};
diff --git a/libavcodec/ac3dec_fixed.c b/libavcodec/ac3dec_fixed.c
index cdab83d647..c9e5cda69c 100644
--- a/libavcodec/ac3dec_fixed.c
+++ b/libavcodec/ac3dec_fixed.c
@@ -165,6 +165,7 @@ 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,
};
diff --git a/libavcodec/ac3dec_float.c b/libavcodec/ac3dec_float.c
index c49ee2d94d..39d3cbd282 100644
--- a/libavcodec/ac3dec_float.c
+++ b/libavcodec/ac3dec_float.c
@@ -56,6 +56,7 @@ 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,
};
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index df76dda6ee..56c8d239c5 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -130,6 +130,7 @@ 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,
};
diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c
index 7f18fc2daf..63afffc58f 100644
--- a/libavcodec/adpcmenc.c
+++ b/libavcodec/adpcmenc.c
@@ -989,6 +989,7 @@ 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,
};
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 18791d426d..538d1e5984 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -611,6 +611,7 @@ static const AVOption options[] = {
static const AVClass alac_class = {
.class_name = "alac",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index c28c2577f4..9598e5861e 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -643,6 +643,7 @@ static const AVOption options[] = {
static const AVClass alacenc_class = {
.class_name = "alacenc",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/amfenc_av1.c b/libavcodec/amfenc_av1.c
index 949251d4e8..3f164ccc59 100644
--- a/libavcodec/amfenc_av1.c
+++ b/libavcodec/amfenc_av1.c
@@ -465,6 +465,7 @@ 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,
};
diff --git a/libavcodec/amfenc_h264.c b/libavcodec/amfenc_h264.c
index a6b82365ad..bd544d12df 100644
--- a/libavcodec/amfenc_h264.c
+++ b/libavcodec/amfenc_h264.c
@@ -518,6 +518,7 @@ 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,
};
diff --git a/libavcodec/amfenc_hevc.c b/libavcodec/amfenc_hevc.c
index 9db01db28d..352564a301 100644
--- a/libavcodec/amfenc_hevc.c
+++ b/libavcodec/amfenc_hevc.c
@@ -433,6 +433,7 @@ 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,
};
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c
index 988f23d8bb..d31c067152 100644
--- a/libavcodec/apedec.c
+++ b/libavcodec/apedec.c
@@ -1744,6 +1744,7 @@ 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,
};
diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c
index ba3867f358..42ab7ae6e4 100644
--- a/libavcodec/audiotoolboxenc.c
+++ b/libavcodec/audiotoolboxenc.c
@@ -610,6 +610,7 @@ 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, \
};
diff --git a/libavcodec/av1_metadata_bsf.c b/libavcodec/av1_metadata_bsf.c
index 494245f333..41b02cc836 100644
--- a/libavcodec/av1_metadata_bsf.c
+++ b/libavcodec/av1_metadata_bsf.c
@@ -211,6 +211,7 @@ 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,
};
diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c
index da05a0f039..7ffa7821e9 100644
--- a/libavcodec/av1dec.c
+++ b/libavcodec/av1dec.c
@@ -1485,6 +1485,7 @@ 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,
};
diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c
index accea49828..1d9ac5ab44 100644
--- a/libavcodec/cbs_av1.c
+++ b/libavcodec/cbs_av1.c
@@ -1277,6 +1277,7 @@ 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,
};
diff --git a/libavcodec/ccaption_dec.c b/libavcodec/ccaption_dec.c
index 5a69d9216b..f91c92b373 100644
--- a/libavcodec/ccaption_dec.c
+++ b/libavcodec/ccaption_dec.c
@@ -934,6 +934,7 @@ 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,
};
diff --git a/libavcodec/cfhdenc.c b/libavcodec/cfhdenc.c
index 75f41e701b..f447438491 100644
--- a/libavcodec/cfhdenc.c
+++ b/libavcodec/cfhdenc.c
@@ -849,6 +849,7 @@ static const AVOption options[] = {
static const AVClass cfhd_class = {
.class_name = "cfhd",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/cinepakenc.c b/libavcodec/cinepakenc.c
index 6bf5485871..f15325ad0d 100644
--- a/libavcodec/cinepakenc.c
+++ b/libavcodec/cinepakenc.c
@@ -148,6 +148,7 @@ static const AVOption options[] = {
static const AVClass cinepak_class = {
.class_name = "cinepak",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/cljrenc.c b/libavcodec/cljrenc.c
index ee03dd3e2e..31ad5ce0cf 100644
--- a/libavcodec/cljrenc.c
+++ b/libavcodec/cljrenc.c
@@ -103,6 +103,7 @@ 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,
};
diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c
index e419d8e3ce..86f6cfa6c1 100644
--- a/libavcodec/crystalhd.c
+++ b/libavcodec/crystalhd.c
@@ -778,6 +778,7 @@ 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, \
}; \
diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c
index 02022148e0..da37207cf2 100644
--- a/libavcodec/cuviddec.c
+++ b/libavcodec/cuviddec.c
@@ -1155,6 +1155,7 @@ 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, \
}; \
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c
index cf12124a58..cc23731b90 100644
--- a/libavcodec/dcadec.c
+++ b/libavcodec/dcadec.c
@@ -410,6 +410,7 @@ 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,
diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c
index 2b034b5648..c731d79381 100644
--- a/libavcodec/dcaenc.c
+++ b/libavcodec/dcaenc.c
@@ -1300,6 +1300,7 @@ 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,
};
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index aa273b5c60..f52a2e9918 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -73,6 +73,7 @@ static const AVOption options[] = {
static const AVClass dnxhd_class = {
.class_name = "dnxhd",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/dolby_e.c b/libavcodec/dolby_e.c
index c80cf3ae62..b8dac0fa3f 100644
--- a/libavcodec/dolby_e.c
+++ b/libavcodec/dolby_e.c
@@ -1300,6 +1300,7 @@ 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,
};
diff --git a/libavcodec/dump_extradata_bsf.c b/libavcodec/dump_extradata_bsf.c
index 373fc9dad8..5506d5ed65 100644
--- a/libavcodec/dump_extradata_bsf.c
+++ b/libavcodec/dump_extradata_bsf.c
@@ -93,6 +93,7 @@ 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,
};
diff --git a/libavcodec/dv_error_marker_bsf.c b/libavcodec/dv_error_marker_bsf.c
index 19ac936e05..131c6fcbe6 100644
--- a/libavcodec/dv_error_marker_bsf.c
+++ b/libavcodec/dv_error_marker_bsf.c
@@ -123,6 +123,7 @@ 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,
};
diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c
index ad05aa0bf3..bcc607d1d7 100644
--- a/libavcodec/dvbsubdec.c
+++ b/libavcodec/dvbsubdec.c
@@ -1564,6 +1564,7 @@ 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,
};
diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c
index 11c3cc5e35..a5da0d7b08 100644
--- a/libavcodec/dvdsubdec.c
+++ b/libavcodec/dvdsubdec.c
@@ -701,6 +701,7 @@ static const AVOption options[] = {
};
static const AVClass dvdsub_class = {
.class_name = "dvdsubdec",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/dvdsubenc.c b/libavcodec/dvdsubenc.c
index 12745ae40b..06c2cf5e5a 100644
--- a/libavcodec/dvdsubenc.c
+++ b/libavcodec/dvdsubenc.c
@@ -496,6 +496,7 @@ 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,
};
diff --git a/libavcodec/dvenc.c b/libavcodec/dvenc.c
index f0820bb2ee..ce21247081 100644
--- a/libavcodec/dvenc.c
+++ b/libavcodec/dvenc.c
@@ -1231,6 +1231,7 @@ 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,
};
diff --git a/libavcodec/eac3enc.c b/libavcodec/eac3enc.c
index afadd77345..4b3236d4e5 100644
--- a/libavcodec/eac3enc.c
+++ b/libavcodec/eac3enc.c
@@ -35,6 +35,7 @@
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,
};
diff --git a/libavcodec/evrcdec.c b/libavcodec/evrcdec.c
index 9de8b8a771..af7640d7e1 100644
--- a/libavcodec/evrcdec.c
+++ b/libavcodec/evrcdec.c
@@ -924,6 +924,7 @@ static const AVOption options[] = {
static const AVClass evrcdec_class = {
.class_name = "evrc",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index a05f8bada6..b30d3b7404 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -2345,6 +2345,7 @@ static const AVOption options[] = {
static const AVClass exr_class = {
.class_name = "EXR",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/exrenc.c b/libavcodec/exrenc.c
index ded7fad18b..36327f498c 100644
--- a/libavcodec/exrenc.c
+++ b/libavcodec/exrenc.c
@@ -535,6 +535,7 @@ static const AVOption options[] = {
static const AVClass exr_class = {
.class_name = "exr",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/extract_extradata_bsf.c b/libavcodec/extract_extradata_bsf.c
index aee63d1b5d..baa629295f 100644
--- a/libavcodec/extract_extradata_bsf.c
+++ b/libavcodec/extract_extradata_bsf.c
@@ -457,6 +457,7 @@ 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,
};
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index 5bd00f5d9e..2778c63012 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -1263,6 +1263,7 @@ 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,
};
diff --git a/libavcodec/fic.c b/libavcodec/fic.c
index ddda8effe0..fb99802137 100644
--- a/libavcodec/fic.c
+++ b/libavcodec/fic.c
@@ -479,6 +479,7 @@ 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,
};
diff --git a/libavcodec/filter_units_bsf.c b/libavcodec/filter_units_bsf.c
index a67d55e57f..9336753148 100644
--- a/libavcodec/filter_units_bsf.c
+++ b/libavcodec/filter_units_bsf.c
@@ -268,6 +268,7 @@ 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,
};
diff --git a/libavcodec/fitsdec.c b/libavcodec/fitsdec.c
index c1d0bd9ca6..284e945ba5 100644
--- a/libavcodec/fitsdec.c
+++ b/libavcodec/fitsdec.c
@@ -316,6 +316,7 @@ 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,
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index 95aee363f4..ed2de14d0a 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -820,6 +820,7 @@ 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,
};
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c
index 605e5db974..a449b73235 100644
--- a/libavcodec/flacenc.c
+++ b/libavcodec/flacenc.c
@@ -1743,6 +1743,7 @@ 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,
};
diff --git a/libavcodec/frwu.c b/libavcodec/frwu.c
index fc6b7058af..70bc136765 100644
--- a/libavcodec/frwu.c
+++ b/libavcodec/frwu.c
@@ -110,6 +110,7 @@ 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,
};
diff --git a/libavcodec/g722dec.c b/libavcodec/g722dec.c
index 9f40e0b740..231f1d32eb 100644
--- a/libavcodec/g722dec.c
+++ b/libavcodec/g722dec.c
@@ -51,6 +51,7 @@ 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,
};
diff --git a/libavcodec/g723_1dec.c b/libavcodec/g723_1dec.c
index 4c8ebc9075..5fe4a21d9b 100644
--- a/libavcodec/g723_1dec.c
+++ b/libavcodec/g723_1dec.c
@@ -1105,6 +1105,7 @@ 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,
};
diff --git a/libavcodec/g726.c b/libavcodec/g726.c
index f25e60b21b..6c5638760d 100644
--- a/libavcodec/g726.c
+++ b/libavcodec/g726.c
@@ -388,6 +388,7 @@ static const AVOption options[] = {
static const AVClass g726_class = {
.class_name = "g726",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index 2a132fb18c..11add64468 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -542,6 +542,7 @@ 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,
};
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
index f99eaff73b..a97a6d15fc 100644
--- a/libavcodec/gifdec.c
+++ b/libavcodec/gifdec.c
@@ -542,6 +542,7 @@ 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,
diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c
index 9a745b056b..39b9e8eee4 100644
--- a/libavcodec/h264_metadata_bsf.c
+++ b/libavcodec/h264_metadata_bsf.c
@@ -703,6 +703,7 @@ 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,
};
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
index 2c0cdf919d..9f5893c512 100644
--- a/libavcodec/h264dec.c
+++ b/libavcodec/h264dec.c
@@ -1104,6 +1104,7 @@ 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,
};
diff --git a/libavcodec/h265_metadata_bsf.c b/libavcodec/h265_metadata_bsf.c
index 4fdd2a532e..6787bd14a1 100644
--- a/libavcodec/h265_metadata_bsf.c
+++ b/libavcodec/h265_metadata_bsf.c
@@ -483,6 +483,7 @@ 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,
};
diff --git a/libavcodec/h266_metadata_bsf.c b/libavcodec/h266_metadata_bsf.c
index 09e91dd80d..1f0f875cfe 100644
--- a/libavcodec/h266_metadata_bsf.c
+++ b/libavcodec/h266_metadata_bsf.c
@@ -130,6 +130,7 @@ 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,
};
diff --git a/libavcodec/hapenc.c b/libavcodec/hapenc.c
index eb492c9db5..7de7358e3d 100644
--- a/libavcodec/hapenc.c
+++ b/libavcodec/hapenc.c
@@ -341,6 +341,7 @@ 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,
};
diff --git a/libavcodec/hapqa_extract_bsf.c b/libavcodec/hapqa_extract_bsf.c
index cf6872fe2d..0d9b40aaa6 100644
--- a/libavcodec/hapqa_extract_bsf.c
+++ b/libavcodec/hapqa_extract_bsf.c
@@ -120,6 +120,7 @@ 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,
};
diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index f21d15fe72..b5311ae510 100644
--- a/libavcodec/hevcdec.c
+++ b/libavcodec/hevcdec.c
@@ -3676,6 +3676,7 @@ 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,
};
diff --git a/libavcodec/huffyuvenc.c b/libavcodec/huffyuvenc.c
index 73f543ac24..b02b3c7a9a 100644
--- a/libavcodec/huffyuvenc.c
+++ b/libavcodec/huffyuvenc.c
@@ -1066,12 +1066,14 @@ 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,
};
diff --git a/libavcodec/ituh263enc.c b/libavcodec/ituh263enc.c
index 6acb13299a..97abfb3f45 100644
--- a/libavcodec/ituh263enc.c
+++ b/libavcodec/ituh263enc.c
@@ -896,6 +896,7 @@ 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,
};
@@ -926,6 +927,7 @@ 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,
};
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
index e0eb73281a..5f95b772d1 100644
--- a/libavcodec/j2kenc.c
+++ b/libavcodec/j2kenc.c
@@ -1827,6 +1827,7 @@ 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,
};
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index 6e662761b0..691cfbd891 100644
--- a/libavcodec/jpeg2000dec.c
+++ b/libavcodec/jpeg2000dec.c
@@ -2543,6 +2543,7 @@ static const AVOption options[] = {
static const AVClass jpeg2000_class = {
.class_name = "jpeg2000",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/jpeglsenc.c b/libavcodec/jpeglsenc.c
index 89488d35cb..53394102df 100644
--- a/libavcodec/jpeglsenc.c
+++ b/libavcodec/jpeglsenc.c
@@ -466,6 +466,7 @@ static const AVOption options[] = {
static const AVClass jpegls_class = {
.class_name = "jpegls",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c
index 5d286fc98b..aa800834fe 100644
--- a/libavcodec/libaomenc.c
+++ b/libavcodec/libaomenc.c
@@ -1546,6 +1546,7 @@ 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,
};
diff --git a/libavcodec/libaribb24.c b/libavcodec/libaribb24.c
index 0706b50c1c..29479e375d 100644
--- a/libavcodec/libaribb24.c
+++ b/libavcodec/libaribb24.c
@@ -387,6 +387,7 @@ 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,
};
diff --git a/libavcodec/libaribcaption.c b/libavcodec/libaribcaption.c
index b32d87d5a6..e87f303aa8 100644
--- a/libavcodec/libaribcaption.c
+++ b/libavcodec/libaribcaption.c
@@ -1161,6 +1161,7 @@ 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,
};
diff --git a/libavcodec/libcodec2.c b/libavcodec/libcodec2.c
index 950d48685e..83f68e85c7 100644
--- a/libavcodec/libcodec2.c
+++ b/libavcodec/libcodec2.c
@@ -43,6 +43,7 @@ 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,
};
diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c
index 3a35bd1825..11cdbca274 100644
--- a/libavcodec/libdav1d.c
+++ b/libavcodec/libdav1d.c
@@ -682,6 +682,7 @@ 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,
};
diff --git a/libavcodec/libfdk-aacdec.c b/libavcodec/libfdk-aacdec.c
index 6b201b64ee..8c1586e25e 100644
--- a/libavcodec/libfdk-aacdec.c
+++ b/libavcodec/libfdk-aacdec.c
@@ -105,6 +105,7 @@ 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,
};
diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c
index fac720b12f..d400ac2e7c 100644
--- a/libavcodec/libfdk-aacenc.c
+++ b/libavcodec/libfdk-aacenc.c
@@ -86,6 +86,7 @@ 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,
};
diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c
index 031f67c9bc..9ca90bf0c6 100644
--- a/libavcodec/libilbc.c
+++ b/libavcodec/libilbc.c
@@ -62,6 +62,7 @@ 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,
};
@@ -146,6 +147,7 @@ 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,
};
diff --git a/libavcodec/libjxlenc.c b/libavcodec/libjxlenc.c
index ab2b5617b3..67be8a01ca 100644
--- a/libavcodec/libjxlenc.c
+++ b/libavcodec/libjxlenc.c
@@ -471,6 +471,7 @@ 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,
};
diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c
index 8d52df142d..0711d9ab38 100644
--- a/libavcodec/libkvazaar.c
+++ b/libavcodec/libkvazaar.c
@@ -316,6 +316,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "libkvazaar",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 4ad03900e8..312bc4230f 100644
--- a/libavcodec/libmp3lame.c
+++ b/libavcodec/libmp3lame.c
@@ -321,6 +321,7 @@ 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,
};
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
index 73b623b6e7..641a156129 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -190,6 +190,7 @@ 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,
};
diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c
index 4d303cd9e7..6f231d22b2 100644
--- a/libavcodec/libopenh264enc.c
+++ b/libavcodec/libopenh264enc.c
@@ -90,6 +90,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "libopenh264enc",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libopenjpegenc.c b/libavcodec/libopenjpegenc.c
index e9aa5b9649..009c7a4377 100644
--- a/libavcodec/libopenjpegenc.c
+++ b/libavcodec/libopenjpegenc.c
@@ -749,6 +749,7 @@ static const AVOption options[] = {
static const AVClass openjpeg_class = {
.class_name = "libopenjpeg",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libopusdec.c b/libavcodec/libopusdec.c
index a1e47fd06c..9b9a610343 100644
--- a/libavcodec/libopusdec.c
+++ b/libavcodec/libopusdec.c
@@ -225,6 +225,7 @@ 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,
};
diff --git a/libavcodec/libopusenc.c b/libavcodec/libopusenc.c
index 1ab954f06a..f395d84af5 100644
--- a/libavcodec/libopusenc.c
+++ b/libavcodec/libopusenc.c
@@ -564,6 +564,7 @@ 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,
};
diff --git a/libavcodec/librav1e.c b/libavcodec/librav1e.c
index 68bf16232a..56539435a7 100644
--- a/libavcodec/librav1e.c
+++ b/libavcodec/librav1e.c
@@ -667,6 +667,7 @@ 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,
};
diff --git a/libavcodec/librsvgdec.c b/libavcodec/librsvgdec.c
index 25d707e1a5..c328fbc774 100644
--- a/libavcodec/librsvgdec.c
+++ b/libavcodec/librsvgdec.c
@@ -156,6 +156,7 @@ 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,
};
diff --git a/libavcodec/libspeexenc.c b/libavcodec/libspeexenc.c
index 3180a93150..9fdb247863 100644
--- a/libavcodec/libspeexenc.c
+++ b/libavcodec/libspeexenc.c
@@ -330,6 +330,7 @@ static const AVOption options[] = {
static const AVClass speex_class = {
.class_name = "libspeex",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c
index 0679daad37..862192945b 100644
--- a/libavcodec/libsvtav1.c
+++ b/libavcodec/libsvtav1.c
@@ -671,6 +671,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "libsvtav1",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libtwolame.c b/libavcodec/libtwolame.c
index bedb2e1fed..9c0156aa25 100644
--- a/libavcodec/libtwolame.c
+++ b/libavcodec/libtwolame.c
@@ -194,6 +194,7 @@ 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,
};
diff --git a/libavcodec/libvo-amrwbenc.c b/libavcodec/libvo-amrwbenc.c
index a802ccdcf8..02b8941a6d 100644
--- a/libavcodec/libvo-amrwbenc.c
+++ b/libavcodec/libvo-amrwbenc.c
@@ -47,6 +47,7 @@ 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,
};
diff --git a/libavcodec/libvorbisenc.c b/libavcodec/libvorbisenc.c
index dedc43563b..6331cf0d79 100644
--- a/libavcodec/libvorbisenc.c
+++ b/libavcodec/libvorbisenc.c
@@ -67,6 +67,7 @@ static const FFCodecDefault defaults[] = {
static const AVClass vorbis_class = {
.class_name = "libvorbis",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index 7ad399eb9c..80988a2608 100644
--- a/libavcodec/libvpxenc.c
+++ b/libavcodec/libvpxenc.c
@@ -2023,6 +2023,7 @@ 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,
};
@@ -2095,6 +2096,7 @@ 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,
};
diff --git a/libavcodec/libwebpenc_common.c b/libavcodec/libwebpenc_common.c
index da9d41622e..761219e50e 100644
--- a/libavcodec/libwebpenc_common.c
+++ b/libavcodec/libwebpenc_common.c
@@ -53,6 +53,7 @@ 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,
};
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 5ea9540d30..182e20f622 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -1462,6 +1462,7 @@ 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,
};
@@ -1503,6 +1504,7 @@ 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,
};
@@ -1534,6 +1536,7 @@ 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,
};
diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 7f4552f685..447e6da25f 100644
--- a/libavcodec/libx265.c
+++ b/libavcodec/libx265.c
@@ -873,6 +873,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "libx265",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c
index 0e0ec32b8c..6c29539f24 100644
--- a/libavcodec/libxavs.c
+++ b/libavcodec/libxavs.c
@@ -411,6 +411,7 @@ static const AVOption options[] = {
static const AVClass xavs_class = {
.class_name = "libxavs",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c
index bf2b08a60c..c493ddc325 100644
--- a/libavcodec/libxavs2.c
+++ b/libavcodec/libxavs2.c
@@ -274,6 +274,7 @@ static const AVOption options[] = {
static const AVClass libxavs2 = {
.class_name = "XAVS2EContext",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c
index 5dec91ee23..58ef90d929 100644
--- a/libavcodec/libxevd.c
+++ b/libavcodec/libxevd.c
@@ -517,6 +517,7 @@ 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,
};
diff --git a/libavcodec/libxeve.c b/libavcodec/libxeve.c
index b71d14f1df..c10b7de023 100644
--- a/libavcodec/libxeve.c
+++ b/libavcodec/libxeve.c
@@ -580,6 +580,7 @@ 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,
};
diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c
index 72577f5b6a..aba875b6b8 100644
--- a/libavcodec/libxvid.c
+++ b/libavcodec/libxvid.c
@@ -892,6 +892,7 @@ static const AVOption options[] = {
static const AVClass xvid_class = {
.class_name = "libxvid",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/libzvbi-teletextdec.c b/libavcodec/libzvbi-teletextdec.c
index 878027275f..45e30eb01c 100644
--- a/libavcodec/libzvbi-teletextdec.c
+++ b/libavcodec/libzvbi-teletextdec.c
@@ -806,6 +806,7 @@ 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,
};
diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c
index c3031631a2..aa62beac71 100644
--- a/libavcodec/ljpegenc.c
+++ b/libavcodec/ljpegenc.c
@@ -306,6 +306,7 @@ static const AVOption options[] = {
static const AVClass ljpeg_class = {
.class_name = "ljpeg",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/magicyuvenc.c b/libavcodec/magicyuvenc.c
index a74212086b..ccd6a54936 100644
--- a/libavcodec/magicyuvenc.c
+++ b/libavcodec/magicyuvenc.c
@@ -666,6 +666,7 @@ static const AVOption options[] = {
static const AVClass magicyuv_class = {
.class_name = "magicyuv",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c
index f2fb392329..0880ddd3ef 100644
--- a/libavcodec/mediacodec_wrapper.c
+++ b/libavcodec/mediacodec_wrapper.c
@@ -136,6 +136,7 @@ static const struct FFJniField jni_amediaformat_mapping[] = {
static const AVClass amediaformat_class = {
.class_name = "amediaformat",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -255,6 +256,7 @@ static const struct FFJniField jni_amediacodec_mapping[] = {
static const AVClass amediacodec_class = {
.class_name = "amediacodec",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -1987,11 +1989,13 @@ static const FFAMediaCodec media_codec_ndk;
static const AVClass amediaformat_ndk_class = {
.class_name = "amediaformat_ndk",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVClass amediacodec_ndk_class = {
.class_name = "amediacodec_ndk",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/mediacodecdec.c b/libavcodec/mediacodecdec.c
index 9698bd2079..b8587289a2 100644
--- a/libavcodec/mediacodecdec.c
+++ b/libavcodec/mediacodecdec.c
@@ -558,6 +558,7 @@ static const AVOption ff_mediacodec_vdec_options[] = {
#define DECLARE_MEDIACODEC_VCLASS(short_name) \
static const AVClass ff_##short_name##_mediacodec_dec_class = { \
.class_name = #short_name "_mediacodec", \
+ .item_name = av_default_item_name, \
.option = ff_mediacodec_vdec_options, \
.version = LIBAVUTIL_VERSION_INT, \
};
diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c
index cab0189a9f..7eae542248 100644
--- a/libavcodec/mediacodecenc.c
+++ b/libavcodec/mediacodecenc.c
@@ -607,6 +607,7 @@ static const AVCodecHWConfigInternal *const mediacodec_hw_configs[] = {
#define MEDIACODEC_ENCODER_CLASS(name) \
static const AVClass name ## _mediacodec_class = { \
.class_name = #name "_mediacodec", \
+ .item_name = av_default_item_name, \
.option = name ## _options, \
.version = LIBAVUTIL_VERSION_INT, \
}; \
diff --git a/libavcodec/mfenc.c b/libavcodec/mfenc.c
index 8bb6f1d38d..3c50a6c074 100644
--- a/libavcodec/mfenc.c
+++ b/libavcodec/mfenc.c
@@ -1226,6 +1226,7 @@ static int mf_init(AVCodecContext *avctx)
#define MF_ENCODER(MEDIATYPE, NAME, ID, OPTS, FMTS, CAPS) \
static const AVClass ff_ ## NAME ## _mf_encoder_class = { \
.class_name = #NAME "_mf", \
+ .item_name = av_default_item_name, \
.option = OPTS, \
.version = LIBAVUTIL_VERSION_INT, \
}; \
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index 0eb7dd988e..81f724d230 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -2991,6 +2991,7 @@ static const AVOption options[] = {
static const AVClass mjpegdec_class = {
.class_name = "MJPEG decoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c
index c3b4723391..508772987f 100644
--- a/libavcodec/mjpegenc.c
+++ b/libavcodec/mjpegenc.c
@@ -637,6 +637,7 @@ FF_MPV_COMMON_OPTS
#if CONFIG_MJPEG_ENCODER
static const AVClass mjpeg_class = {
.class_name = "mjpeg encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -666,6 +667,7 @@ const FFCodec ff_mjpeg_encoder = {
#if CONFIG_AMV_ENCODER
static const AVClass amv_class = {
.class_name = "amv encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/mlpdec.c b/libavcodec/mlpdec.c
index 5aac08504b..ead5ecee76 100644
--- a/libavcodec/mlpdec.c
+++ b/libavcodec/mlpdec.c
@@ -1444,12 +1444,14 @@ static const AVOption options[] = {
static const AVClass mlp_decoder_class = {
.class_name = "MLP decoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVClass truehd_decoder_class = {
.class_name = "TrueHD decoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c
index 563f53ee34..895362faca 100644
--- a/libavcodec/mlpenc.c
+++ b/libavcodec/mlpenc.c
@@ -2289,6 +2289,7 @@ static const AVOption mlp_options[] = {
static const AVClass mlp_class = {
.class_name = "mlpenc",
+ .item_name = av_default_item_name,
.option = mlp_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c
index c344d1f449..2dc7bbee04 100644
--- a/libavcodec/mmaldec.c
+++ b/libavcodec/mmaldec.c
@@ -825,6 +825,7 @@ static const AVOption options[]={
static const AVClass ffmmal_dec_class = {
.class_name = "mmal_dec",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c
index b82104d164..f799252bf2 100644
--- a/libavcodec/movtextdec.c
+++ b/libavcodec/movtextdec.c
@@ -586,6 +586,7 @@ static const AVOption options[] = {
static const AVClass mov_text_decoder_class = {
.class_name = "MOV text decoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/movtextenc.c b/libavcodec/movtextenc.c
index fc9ff2d7af..7aa74d7c9d 100644
--- a/libavcodec/movtextenc.c
+++ b/libavcodec/movtextenc.c
@@ -694,6 +694,7 @@ static const AVOption options[] = {
static const AVClass mov_text_encoder_class = {
.class_name = "MOV text enoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c
index 01d00a8147..0135623c0e 100644
--- a/libavcodec/mpeg12enc.c
+++ b/libavcodec/mpeg12enc.c
@@ -1225,6 +1225,7 @@ static const AVOption mpeg2_options[] = {
#define mpeg12_class(x) \
static const AVClass mpeg ## x ## _class = { \
.class_name = "mpeg" # x "video encoder", \
+ .item_name = av_default_item_name, \
.option = mpeg ## x ## _options, \
.version = LIBAVUTIL_VERSION_INT, \
};
diff --git a/libavcodec/mpeg2_metadata_bsf.c b/libavcodec/mpeg2_metadata_bsf.c
index d491242338..1aa6e02791 100644
--- a/libavcodec/mpeg2_metadata_bsf.c
+++ b/libavcodec/mpeg2_metadata_bsf.c
@@ -223,6 +223,7 @@ static const AVOption mpeg2_metadata_options[] = {
static const AVClass mpeg2_metadata_class = {
.class_name = "mpeg2_metadata_bsf",
+ .item_name = av_default_item_name,
.option = mpeg2_metadata_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 7485c5618b..7e05f2eeca 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -3847,6 +3847,7 @@ static const AVOption mpeg4_options[] = {
static const AVClass mpeg4_class = {
.class_name = "MPEG4 Video Decoder",
+ .item_name = av_default_item_name,
.option = mpeg4_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/mpeg4videoenc.c b/libavcodec/mpeg4videoenc.c
index 5f5b9aebc4..d1e50612dd 100644
--- a/libavcodec/mpeg4videoenc.c
+++ b/libavcodec/mpeg4videoenc.c
@@ -1388,6 +1388,7 @@ static const AVOption options[] = {
static const AVClass mpeg4enc_class = {
.class_name = "MPEG4 encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index c192be6ca4..c20e364cac 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -99,6 +99,7 @@ static const AVOption mpv_generic_options[] = {
const AVClass ff_mpv_enc_class = {
.class_name = "generic mpegvideo encoder",
+ .item_name = av_default_item_name,
.option = mpv_generic_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/noise_bsf.c b/libavcodec/noise_bsf.c
index 3f2aaba5d9..7bdaa3c1db 100644
--- a/libavcodec/noise_bsf.c
+++ b/libavcodec/noise_bsf.c
@@ -220,6 +220,7 @@ static const AVOption options[] = {
static const AVClass noise_class = {
.class_name = "noise",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/nvenc_av1.c b/libavcodec/nvenc_av1.c
index 4be29b0273..9f36796c4b 100644
--- a/libavcodec/nvenc_av1.c
+++ b/libavcodec/nvenc_av1.c
@@ -167,6 +167,7 @@ static const FFCodecDefault defaults[] = {
static const AVClass av1_nvenc_class = {
.class_name = "av1_nvenc",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/nvenc_h264.c b/libavcodec/nvenc_h264.c
index 8cad2cca99..85a13634a3 100644
--- a/libavcodec/nvenc_h264.c
+++ b/libavcodec/nvenc_h264.c
@@ -233,6 +233,7 @@ static const FFCodecDefault defaults[] = {
static const AVClass h264_nvenc_class = {
.class_name = "h264_nvenc",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c
index 388e5dd0cd..840df6da8a 100644
--- a/libavcodec/nvenc_hevc.c
+++ b/libavcodec/nvenc_hevc.c
@@ -214,6 +214,7 @@ static const FFCodecDefault defaults[] = {
static const AVClass hevc_nvenc_class = {
.class_name = "hevc_nvenc",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/omx.c b/libavcodec/omx.c
index a4c873120a..82fd492071 100644
--- a/libavcodec/omx.c
+++ b/libavcodec/omx.c
@@ -933,6 +933,7 @@ static const enum AVPixelFormat omx_encoder_pix_fmts[] = {
static const AVClass omx_mpeg4enc_class = {
.class_name = "mpeg4_omx",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -953,6 +954,7 @@ const FFCodec ff_mpeg4_omx_encoder = {
static const AVClass omx_h264enc_class = {
.class_name = "h264_omx",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/opus_metadata_bsf.c b/libavcodec/opus_metadata_bsf.c
index 3b243c76ce..2a0f86cec3 100644
--- a/libavcodec/opus_metadata_bsf.c
+++ b/libavcodec/opus_metadata_bsf.c
@@ -49,6 +49,7 @@ static const AVOption opus_metadata_options[] = {
static const AVClass opus_metadata_class = {
.class_name = "opus_metadata_bsf",
+ .item_name = av_default_item_name,
.option = opus_metadata_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/opusdec.c b/libavcodec/opusdec.c
index f9c334247d..c5f06e0600 100644
--- a/libavcodec/opusdec.c
+++ b/libavcodec/opusdec.c
@@ -762,6 +762,7 @@ static const AVOption opus_options[] = {
static const AVClass opus_class = {
.class_name = "Opus Decoder",
+ .item_name = av_default_item_name,
.option = opus_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/opusenc.c b/libavcodec/opusenc.c
index 2b590d2b50..a2f74a347b 100644
--- a/libavcodec/opusenc.c
+++ b/libavcodec/opusenc.c
@@ -719,6 +719,7 @@ static const AVOption opusenc_options[] = {
static const AVClass opusenc_class = {
.class_name = "Opus encoder",
+ .item_name = av_default_item_name,
.option = opusenc_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/pcm_rechunk_bsf.c b/libavcodec/pcm_rechunk_bsf.c
index d5eb6e9858..28b5722ac9 100644
--- a/libavcodec/pcm_rechunk_bsf.c
+++ b/libavcodec/pcm_rechunk_bsf.c
@@ -187,6 +187,7 @@ static const AVOption options[] = {
static const AVClass pcm_rechunk_class = {
.class_name = "pcm_rechunk_bsf",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c
index 26fdc2b964..5f76f12615 100644
--- a/libavcodec/pgssubdec.c
+++ b/libavcodec/pgssubdec.c
@@ -684,6 +684,7 @@ static const AVOption options[] = {
static const AVClass pgsdec_class = {
.class_name = "PGS subtitle decoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/photocd.c b/libavcodec/photocd.c
index 64f8212e7f..07e8d460bd 100644
--- a/libavcodec/photocd.c
+++ b/libavcodec/photocd.c
@@ -454,6 +454,7 @@ static const AVOption options[] = {
static const AVClass photocd_class = {
.class_name = "photocd",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index 668d531ef6..f0650962d2 100644
--- a/libavcodec/pngenc.c
+++ b/libavcodec/pngenc.c
@@ -1189,6 +1189,7 @@ static const AVOption options[] = {
static const AVClass pngenc_class = {
.class_name = "(A)PNG encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/prores_metadata_bsf.c b/libavcodec/prores_metadata_bsf.c
index 18dac5424b..fb001b38d7 100644
--- a/libavcodec/prores_metadata_bsf.c
+++ b/libavcodec/prores_metadata_bsf.c
@@ -161,6 +161,7 @@ static const AVOption options[] = {
static const AVClass prores_metadata_class = {
.class_name = "prores_metadata_bsf",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c
index a348b7622a..5c93ea6566 100644
--- a/libavcodec/proresenc_anatoliy.c
+++ b/libavcodec/proresenc_anatoliy.c
@@ -936,6 +936,7 @@ static const AVOption options[] = {
static const AVClass prores_enc_class = {
.class_name = "ProRes encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c
index 61231b8cfb..92351ecc4a 100644
--- a/libavcodec/proresenc_kostya.c
+++ b/libavcodec/proresenc_kostya.c
@@ -1367,6 +1367,7 @@ static const AVOption options[] = {
static const AVClass proresenc_class = {
.class_name = "ProRes encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index e2db8701bb..559f63698a 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -1110,6 +1110,7 @@ static void qsv_decode_flush(AVCodecContext *avctx)
#define DEFINE_QSV_DECODER_WITH_OPTION(x, X, bsf_name, opt) \
static const AVClass x##_qsv_class = { \
.class_name = #x "_qsv", \
+ .item_name = av_default_item_name, \
.option = opt, \
.version = LIBAVUTIL_VERSION_INT, \
}; \
diff --git a/libavcodec/qsvenc_av1.c b/libavcodec/qsvenc_av1.c
index 92433dc2f8..c697845d7b 100644
--- a/libavcodec/qsvenc_av1.c
+++ b/libavcodec/qsvenc_av1.c
@@ -123,6 +123,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "av1_qsv encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/qsvenc_h264.c b/libavcodec/qsvenc_h264.c
index 5627ca2c25..071a9a79e9 100644
--- a/libavcodec/qsvenc_h264.c
+++ b/libavcodec/qsvenc_h264.c
@@ -172,6 +172,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "h264_qsv encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
index b3717022b9..c5b7ac7cc4 100644
--- a/libavcodec/qsvenc_hevc.c
+++ b/libavcodec/qsvenc_hevc.c
@@ -368,6 +368,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "hevc_qsv encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/qsvenc_jpeg.c b/libavcodec/qsvenc_jpeg.c
index dc00942d4f..2add12adc9 100644
--- a/libavcodec/qsvenc_jpeg.c
+++ b/libavcodec/qsvenc_jpeg.c
@@ -68,6 +68,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "mjpeg_qsv encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/qsvenc_mpeg2.c b/libavcodec/qsvenc_mpeg2.c
index bbeac53ea4..22f1ff7c0d 100644
--- a/libavcodec/qsvenc_mpeg2.c
+++ b/libavcodec/qsvenc_mpeg2.c
@@ -76,6 +76,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "mpeg2_qsv encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/qsvenc_vp9.c b/libavcodec/qsvenc_vp9.c
index b7a596b4ce..d0340ef94b 100644
--- a/libavcodec/qsvenc_vp9.c
+++ b/libavcodec/qsvenc_vp9.c
@@ -87,6 +87,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "vp9_qsv encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/rasc.c b/libavcodec/rasc.c
index af14eee6f3..21c1829fc7 100644
--- a/libavcodec/rasc.c
+++ b/libavcodec/rasc.c
@@ -793,6 +793,7 @@ static const AVOption options[] = {
static const AVClass rasc_decoder_class = {
.class_name = "rasc decoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/remove_extradata_bsf.c b/libavcodec/remove_extradata_bsf.c
index 67a9a04060..66b7d00bd8 100644
--- a/libavcodec/remove_extradata_bsf.c
+++ b/libavcodec/remove_extradata_bsf.c
@@ -240,6 +240,7 @@ static const AVOption options[] = {
static const AVClass remove_extradata_class = {
.class_name = "remove_extradata",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index 0d02d1c101..0933abf4f9 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -1110,6 +1110,7 @@ static const AVOption options[] = {
static const AVClass roq_class = {
.class_name = "RoQ",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/rpzaenc.c b/libavcodec/rpzaenc.c
index b13a3d8fe6..d84555d6c6 100644
--- a/libavcodec/rpzaenc.c
+++ b/libavcodec/rpzaenc.c
@@ -864,6 +864,7 @@ static const AVOption options[] = {
static const AVClass rpza_class = {
.class_name = "rpza",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/s302m.c b/libavcodec/s302m.c
index fc93c6ad05..f1b41608f3 100644
--- a/libavcodec/s302m.c
+++ b/libavcodec/s302m.c
@@ -221,6 +221,7 @@ static const AVOption s302m_options[] = {
static const AVClass s302m_class = {
.class_name = "SMPTE 302M Decoder",
+ .item_name = av_default_item_name,
.option = s302m_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/sbcenc.c b/libavcodec/sbcenc.c
index 614a6fffa8..6e1dd88c72 100644
--- a/libavcodec/sbcenc.c
+++ b/libavcodec/sbcenc.c
@@ -339,6 +339,7 @@ static const AVOption options[] = {
static const AVClass sbc_class = {
.class_name = "sbc encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/setts_bsf.c b/libavcodec/setts_bsf.c
index 31f4d7afec..9c27b24a39 100644
--- a/libavcodec/setts_bsf.c
+++ b/libavcodec/setts_bsf.c
@@ -262,6 +262,7 @@ static const AVOption options[] = {
static const AVClass setts_class = {
.class_name = "setts_bsf",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/sgienc.c b/libavcodec/sgienc.c
index 50c6555a02..5bbb72c03a 100644
--- a/libavcodec/sgienc.c
+++ b/libavcodec/sgienc.c
@@ -265,6 +265,7 @@ static const AVOption options[] = {
static const AVClass sgi_class = {
.class_name = "sgi",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c
index e4fd95390f..c215215346 100644
--- a/libavcodec/snowenc.c
+++ b/libavcodec/snowenc.c
@@ -2120,6 +2120,7 @@ static const AVOption options[] = {
static const AVClass snowenc_class = {
.class_name = "snow encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/sunrastenc.c b/libavcodec/sunrastenc.c
index 0c09cbd907..b2d57f7235 100644
--- a/libavcodec/sunrastenc.c
+++ b/libavcodec/sunrastenc.c
@@ -203,6 +203,7 @@ static const AVOption options[] = {
static const AVClass sunrast_class = {
.class_name = "sunrast",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c
index 6e7ea12aa7..2e07af3688 100644
--- a/libavcodec/svq1enc.c
+++ b/libavcodec/svq1enc.c
@@ -740,6 +740,7 @@ static const AVOption options[] = {
static const AVClass svq1enc_class = {
.class_name = "svq1enc",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/targaenc.c b/libavcodec/targaenc.c
index cf5da1fc09..d9c500b97d 100644
--- a/libavcodec/targaenc.c
+++ b/libavcodec/targaenc.c
@@ -197,6 +197,7 @@ static const AVOption options[] = {
static const AVClass targa_class = {
.class_name = "targa",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/textdec.c b/libavcodec/textdec.c
index 852f806e45..b9aebff002 100644
--- a/libavcodec/textdec.c
+++ b/libavcodec/textdec.c
@@ -74,6 +74,7 @@ static void text_flush(AVCodecContext *avctx)
static const AVClass textsub_decoder_class = {
.class_name = "text/vplayer/stl/pjs/subviewer1 decoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 3092e319d3..adb49e4525 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -2454,6 +2454,7 @@ static const AVOption tiff_options[] = {
static const AVClass tiff_decoder_class = {
.class_name = "TIFF decoder",
+ .item_name = av_default_item_name,
.option = tiff_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index a83657a219..06d7dcc99d 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -564,6 +564,7 @@ static const AVOption options[] = {
static const AVClass tiffenc_class = {
.class_name = "TIFF encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index 7ea9b607a9..7763ed7ffc 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -420,6 +420,7 @@ static const AVOption options[] = {
static const AVClass tta_decoder_class = {
.class_name = "TTA Decoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/utvideoenc.c b/libavcodec/utvideoenc.c
index e9c28e5704..1fcb6854f2 100644
--- a/libavcodec/utvideoenc.c
+++ b/libavcodec/utvideoenc.c
@@ -654,6 +654,7 @@ static const AVOption options[] = {
static const AVClass utvideo_class = {
.class_name = "utvideo",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c
index 71712056db..d80fb4e7c6 100644
--- a/libavcodec/v210dec.c
+++ b/libavcodec/v210dec.c
@@ -227,6 +227,7 @@ static const AVOption v210dec_options[] = {
static const AVClass v210dec_class = {
.class_name = "V210 Decoder",
+ .item_name = av_default_item_name,
.option = v210dec_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/v4l2_m2m_dec.c b/libavcodec/v4l2_m2m_dec.c
index 8771c821eb..aa2d759e1e 100644
--- a/libavcodec/v4l2_m2m_dec.c
+++ b/libavcodec/v4l2_m2m_dec.c
@@ -233,6 +233,7 @@ static const AVOption options[] = {
#define M2MDEC_CLASS(NAME) \
static const AVClass v4l2_m2m_ ## NAME ## _dec_class = { \
.class_name = #NAME "_v4l2m2m_decoder", \
+ .item_name = av_default_item_name, \
.option = options, \
.version = LIBAVUTIL_VERSION_INT, \
};
diff --git a/libavcodec/v4l2_m2m_enc.c b/libavcodec/v4l2_m2m_enc.c
index 2a90098eab..e08db5d5d3 100644
--- a/libavcodec/v4l2_m2m_enc.c
+++ b/libavcodec/v4l2_m2m_enc.c
@@ -414,6 +414,7 @@ static const FFCodecDefault v4l2_m2m_defaults[] = {
#define M2MENC_CLASS(NAME, OPTIONS_NAME) \
static const AVClass v4l2_m2m_ ## NAME ## _enc_class = { \
.class_name = #NAME "_v4l2m2m_encoder", \
+ .item_name = av_default_item_name, \
.option = OPTIONS_NAME, \
.version = LIBAVUTIL_VERSION_INT, \
};
diff --git a/libavcodec/vaapi_encode_av1.c b/libavcodec/vaapi_encode_av1.c
index a773a2cb0b..5a9ff0f798 100644
--- a/libavcodec/vaapi_encode_av1.c
+++ b/libavcodec/vaapi_encode_av1.c
@@ -922,6 +922,7 @@ static const FFCodecDefault vaapi_encode_av1_defaults[] = {
static const AVClass vaapi_encode_av1_class = {
.class_name = "av1_vaapi",
+ .item_name = av_default_item_name,
.option = vaapi_encode_av1_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c
index 74fbdacf74..57b5ea2bab 100644
--- a/libavcodec/vaapi_encode_h264.c
+++ b/libavcodec/vaapi_encode_h264.c
@@ -1368,6 +1368,7 @@ static const FFCodecDefault vaapi_encode_h264_defaults[] = {
static const AVClass vaapi_encode_h264_class = {
.class_name = "h264_vaapi",
+ .item_name = av_default_item_name,
.option = vaapi_encode_h264_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c
index 3ebb8afa9b..239ef2359a 100644
--- a/libavcodec/vaapi_encode_h265.c
+++ b/libavcodec/vaapi_encode_h265.c
@@ -1485,6 +1485,7 @@ static const FFCodecDefault vaapi_encode_h265_defaults[] = {
static const AVClass vaapi_encode_h265_class = {
.class_name = "h265_vaapi",
+ .item_name = av_default_item_name,
.option = vaapi_encode_h265_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/vaapi_encode_mjpeg.c b/libavcodec/vaapi_encode_mjpeg.c
index e67e940c47..c17747e3a9 100644
--- a/libavcodec/vaapi_encode_mjpeg.c
+++ b/libavcodec/vaapi_encode_mjpeg.c
@@ -559,6 +559,7 @@ static const FFCodecDefault vaapi_encode_mjpeg_defaults[] = {
static const AVClass vaapi_encode_mjpeg_class = {
.class_name = "mjpeg_vaapi",
+ .item_name = av_default_item_name,
.option = vaapi_encode_mjpeg_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/vaapi_encode_mpeg2.c b/libavcodec/vaapi_encode_mpeg2.c
index f9a3ecc8d1..d1904bf4f5 100644
--- a/libavcodec/vaapi_encode_mpeg2.c
+++ b/libavcodec/vaapi_encode_mpeg2.c
@@ -682,6 +682,7 @@ static const FFCodecDefault vaapi_encode_mpeg2_defaults[] = {
static const AVClass vaapi_encode_mpeg2_class = {
.class_name = "mpeg2_vaapi",
+ .item_name = av_default_item_name,
.option = vaapi_encode_mpeg2_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/vaapi_encode_vp8.c b/libavcodec/vaapi_encode_vp8.c
index ddcf200085..8a557b967e 100644
--- a/libavcodec/vaapi_encode_vp8.c
+++ b/libavcodec/vaapi_encode_vp8.c
@@ -237,6 +237,7 @@ static const FFCodecDefault vaapi_encode_vp8_defaults[] = {
static const AVClass vaapi_encode_vp8_class = {
.class_name = "vp8_vaapi",
+ .item_name = av_default_item_name,
.option = vaapi_encode_vp8_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/vaapi_encode_vp9.c b/libavcodec/vaapi_encode_vp9.c
index d00e73e945..c2a8dec71b 100644
--- a/libavcodec/vaapi_encode_vp9.c
+++ b/libavcodec/vaapi_encode_vp9.c
@@ -294,6 +294,7 @@ static const FFCodecDefault vaapi_encode_vp9_defaults[] = {
static const AVClass vaapi_encode_vp9_class = {
.class_name = "vp9_vaapi",
+ .item_name = av_default_item_name,
.option = vaapi_encode_vp9_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/vbnenc.c b/libavcodec/vbnenc.c
index 258bb975d4..7ce91863d7 100644
--- a/libavcodec/vbnenc.c
+++ b/libavcodec/vbnenc.c
@@ -143,6 +143,7 @@ static const AVOption options[] = {
static const AVClass vbnenc_class = {
.class_name = "VBN encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/vc2enc.c b/libavcodec/vc2enc.c
index 87856a95fc..d978c67a3b 100644
--- a/libavcodec/vc2enc.c
+++ b/libavcodec/vc2enc.c
@@ -1207,6 +1207,7 @@ static const AVClass vc2enc_class = {
.class_name = "SMPTE VC-2 encoder",
.category = AV_CLASS_CATEGORY_ENCODER,
.option = vc2enc_options,
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT
};
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index b2106a39f4..a7efd7ef3f 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -2907,6 +2907,7 @@ static const AVOption h264_options[] = {
static const AVClass h264_videotoolbox_class = {
.class_name = "h264_videotoolbox",
+ .item_name = av_default_item_name,
.option = h264_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -2942,6 +2943,7 @@ static const AVOption hevc_options[] = {
static const AVClass hevc_videotoolbox_class = {
.class_name = "hevc_videotoolbox",
+ .item_name = av_default_item_name,
.option = hevc_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -2980,6 +2982,7 @@ static const AVOption prores_options[] = {
static const AVClass prores_videotoolbox_class = {
.class_name = "prores_videotoolbox",
+ .item_name = av_default_item_name,
.option = prores_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/vorbis_parser.c b/libavcodec/vorbis_parser.c
index 5bd862b76d..d2c9e647ce 100644
--- a/libavcodec/vorbis_parser.c
+++ b/libavcodec/vorbis_parser.c
@@ -36,6 +36,7 @@
static const AVClass vorbis_parser_class = {
.class_name = "Vorbis parser",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/vp9_metadata_bsf.c b/libavcodec/vp9_metadata_bsf.c
index 024b2ad94a..40d1b21c67 100644
--- a/libavcodec/vp9_metadata_bsf.c
+++ b/libavcodec/vp9_metadata_bsf.c
@@ -126,6 +126,7 @@ static const AVOption vp9_metadata_options[] = {
static const AVClass vp9_metadata_class = {
.class_name = "vp9_metadata_bsf",
+ .item_name = av_default_item_name,
.option = vp9_metadata_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavcodec/wavpackenc.c b/libavcodec/wavpackenc.c
index e138c7f3a6..33a5dfcc89 100644
--- a/libavcodec/wavpackenc.c
+++ b/libavcodec/wavpackenc.c
@@ -2962,6 +2962,7 @@ static const AVOption options[] = {
static const AVClass wavpack_encoder_class = {
.class_name = "WavPack encoder",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};