summaryrefslogtreecommitdiff
path: root/libavformat
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 /libavformat
parenta8bc79c3fd96a8287e241e6913ad5cf4d4838f5c (diff)
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 'libavformat')
-rw-r--r--libavformat/aadec.c1
-rw-r--r--libavformat/ac4enc.c1
-rw-r--r--libavformat/adtsenc.c1
-rw-r--r--libavformat/aiffenc.c1
-rw-r--r--libavformat/alp.c1
-rw-r--r--libavformat/apngdec.c1
-rw-r--r--libavformat/apngenc.c1
-rw-r--r--libavformat/aptxdec.c1
-rw-r--r--libavformat/aqtitledec.c1
-rw-r--r--libavformat/argo_asf.c1
-rw-r--r--libavformat/argo_cvg.c1
-rw-r--r--libavformat/asfdec_f.c1
-rw-r--r--libavformat/asfenc.c1
-rw-r--r--libavformat/assenc.c1
-rw-r--r--libavformat/astenc.c1
-rw-r--r--libavformat/async.c2
-rw-r--r--libavformat/av1dec.c1
-rw-r--r--libavformat/avidec.c1
-rw-r--r--libavformat/avienc.c1
-rw-r--r--libavformat/aviobuf.c1
-rw-r--r--libavformat/avisynth.c1
-rw-r--r--libavformat/bintext.c1
-rw-r--r--libavformat/bluray.c1
-rw-r--r--libavformat/cache.c1
-rw-r--r--libavformat/cdxl.c1
-rw-r--r--libavformat/chromaprint.c1
-rw-r--r--libavformat/codec2.c2
-rw-r--r--libavformat/concatdec.c1
-rw-r--r--libavformat/crypto.c1
-rw-r--r--libavformat/dashdec.c1
-rw-r--r--libavformat/dashenc.c1
-rw-r--r--libavformat/dfpwmdec.c1
-rw-r--r--libavformat/electronicarts.c1
-rw-r--r--libavformat/evcdec.c1
-rw-r--r--libavformat/fifo.c1
-rw-r--r--libavformat/fifo_test.c1
-rw-r--r--libavformat/file.c3
-rw-r--r--libavformat/fitsdec.c1
-rw-r--r--libavformat/flacenc.c1
-rw-r--r--libavformat/flvdec.c1
-rw-r--r--libavformat/flvenc.c1
-rw-r--r--libavformat/ftp.c1
-rw-r--r--libavformat/g726.c1
-rw-r--r--libavformat/g729dec.c1
-rw-r--r--libavformat/gif.c1
-rw-r--r--libavformat/gifdec.c1
-rw-r--r--libavformat/gsmdec.c1
-rw-r--r--libavformat/hashenc.c4
-rw-r--r--libavformat/hca.c1
-rw-r--r--libavformat/hdsenc.c1
-rw-r--r--libavformat/hls.c1
-rw-r--r--libavformat/hlsenc.c1
-rw-r--r--libavformat/http.c1
-rw-r--r--libavformat/icecast.c1
-rw-r--r--libavformat/imfdec.c1
-rw-r--r--libavformat/img2_alias_pix.c1
-rw-r--r--libavformat/img2_brender_pix.c1
-rw-r--r--libavformat/img2dec.c2
-rw-r--r--libavformat/img2enc.c1
-rw-r--r--libavformat/ipfsgateway.c1
-rw-r--r--libavformat/latmenc.c1
-rw-r--r--libavformat/libamqp.c1
-rw-r--r--libavformat/libgme.c1
-rw-r--r--libavformat/libmodplug.c1
-rw-r--r--libavformat/libopenmpt.c1
-rw-r--r--libavformat/librist.c1
-rw-r--r--libavformat/librtmp.c1
-rw-r--r--libavformat/libsmbclient.c1
-rw-r--r--libavformat/libsrt.c1
-rw-r--r--libavformat/libssh.c1
-rw-r--r--libavformat/libzmq.c1
-rw-r--r--libavformat/matroskadec.c1
-rw-r--r--libavformat/matroskaenc.c1
-rw-r--r--libavformat/microdvddec.c1
-rw-r--r--libavformat/mov.c1
-rw-r--r--libavformat/movenc.c2
-rw-r--r--libavformat/mp3dec.c1
-rw-r--r--libavformat/mp3enc.c1
-rw-r--r--libavformat/mpeg.c1
-rw-r--r--libavformat/mpegenc.c1
-rw-r--r--libavformat/mpegts.c2
-rw-r--r--libavformat/mpegtsenc.c1
-rw-r--r--libavformat/mpjpeg.c1
-rw-r--r--libavformat/mpjpegdec.c1
-rw-r--r--libavformat/mxfdec.c1
-rw-r--r--libavformat/mxfenc.c3
-rw-r--r--libavformat/nutenc.c1
-rw-r--r--libavformat/oggenc.c1
-rw-r--r--libavformat/options.c2
-rw-r--r--libavformat/pcmdec.c2
-rw-r--r--libavformat/prompeg.c1
-rw-r--r--libavformat/rawdec.c2
-rw-r--r--libavformat/rawvideodec.c3
-rw-r--r--libavformat/rtmpcrypt.c1
-rw-r--r--libavformat/rtmphttp.c1
-rw-r--r--libavformat/rtmpproto.c1
-rw-r--r--libavformat/rtpenc.c1
-rw-r--r--libavformat/rtpenc_mpegts.c1
-rw-r--r--libavformat/rtpproto.c1
-rw-r--r--libavformat/rtsp.c2
-rw-r--r--libavformat/rtspdec.c1
-rw-r--r--libavformat/rtspenc.c1
-rw-r--r--libavformat/sbgdec.c1
-rw-r--r--libavformat/sctp.c1
-rw-r--r--libavformat/segment.c1
-rw-r--r--libavformat/serdec.c1
-rw-r--r--libavformat/smoothstreamingenc.c1
-rw-r--r--libavformat/spdifenc.c1
-rw-r--r--libavformat/srtpproto.c1
-rw-r--r--libavformat/subfile.c1
-rw-r--r--libavformat/tcp.c1
-rw-r--r--libavformat/tedcaptionsdec.c1
-rw-r--r--libavformat/tee.c1
-rw-r--r--libavformat/tls_gnutls.c1
-rw-r--r--libavformat/tls_libtls.c1
-rw-r--r--libavformat/tls_mbedtls.c1
-rw-r--r--libavformat/tls_openssl.c1
-rw-r--r--libavformat/tls_schannel.c1
-rw-r--r--libavformat/tls_securetransport.c1
-rw-r--r--libavformat/tty.c1
-rw-r--r--libavformat/udp.c2
-rw-r--r--libavformat/unix.c1
-rw-r--r--libavformat/vapoursynth.c1
-rw-r--r--libavformat/wavdec.c2
-rw-r--r--libavformat/wavenc.c1
-rw-r--r--libavformat/webm_chunk.c1
-rw-r--r--libavformat/webmdashenc.c1
-rw-r--r--libavformat/webpenc.c1
-rw-r--r--libavformat/webvttdec.c1
129 files changed, 149 insertions, 0 deletions
diff --git a/libavformat/aadec.c b/libavformat/aadec.c
index 840afe0f1f..e7b048b1f9 100644
--- a/libavformat/aadec.c
+++ b/libavformat/aadec.c
@@ -366,6 +366,7 @@ static const AVOption aa_options[] = {
static const AVClass aa_class = {
.class_name = "aa",
+ .item_name = av_default_item_name,
.option = aa_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/ac4enc.c b/libavformat/ac4enc.c
index df768892dc..aefbfc2684 100644
--- a/libavformat/ac4enc.c
+++ b/libavformat/ac4enc.c
@@ -82,6 +82,7 @@ static const AVOption ac4_options[] = {
static const AVClass ac4_muxer_class = {
.class_name = "AC4 muxer",
+ .item_name = av_default_item_name,
.option = ac4_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/adtsenc.c b/libavformat/adtsenc.c
index 5ebbc641d2..c5765cc92e 100644
--- a/libavformat/adtsenc.c
+++ b/libavformat/adtsenc.c
@@ -228,6 +228,7 @@ static const AVOption options[] = {
static const AVClass adts_muxer_class = {
.class_name = "ADTS muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/aiffenc.c b/libavformat/aiffenc.c
index 12c871dd93..11a5b18d57 100644
--- a/libavformat/aiffenc.c
+++ b/libavformat/aiffenc.c
@@ -280,6 +280,7 @@ static const AVOption options[] = {
static const AVClass aiff_muxer_class = {
.class_name = "AIFF muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/alp.c b/libavformat/alp.c
index bbba769f7b..8c6066a59c 100644
--- a/libavformat/alp.c
+++ b/libavformat/alp.c
@@ -286,6 +286,7 @@ static const AVOption alp_options[] = {
static const AVClass alp_muxer_class = {
.class_name = "alp",
+ .item_name = av_default_item_name,
.option = alp_options,
.version = LIBAVUTIL_VERSION_INT
};
diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c
index 835a94e9e1..8f5f37a2b1 100644
--- a/libavformat/apngdec.c
+++ b/libavformat/apngdec.c
@@ -415,6 +415,7 @@ static const AVOption options[] = {
static const AVClass demuxer_class = {
.class_name = "APNG demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DEMUXER,
diff --git a/libavformat/apngenc.c b/libavformat/apngenc.c
index be08c033ed..a0af916f14 100644
--- a/libavformat/apngenc.c
+++ b/libavformat/apngenc.c
@@ -302,6 +302,7 @@ static const AVOption options[] = {
static const AVClass apng_muxer_class = {
.class_name = "APNG muxer",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
.option = options,
};
diff --git a/libavformat/aptxdec.c b/libavformat/aptxdec.c
index e1043564af..0637a8afde 100644
--- a/libavformat/aptxdec.c
+++ b/libavformat/aptxdec.c
@@ -95,6 +95,7 @@ static const AVOption aptx_options[] = {
static const AVClass aptx_demuxer_class = {
.class_name = "aptx (hd) demuxer",
+ .item_name = av_default_item_name,
.option = aptx_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/aqtitledec.c b/libavformat/aqtitledec.c
index bb977150b8..6c14b23862 100644
--- a/libavformat/aqtitledec.c
+++ b/libavformat/aqtitledec.c
@@ -130,6 +130,7 @@ static const AVOption aqt_options[] = {
static const AVClass aqt_class = {
.class_name = "aqtdec",
+ .item_name = av_default_item_name,
.option = aqt_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c
index 61951c21d9..5f38b68b6a 100644
--- a/libavformat/argo_asf.c
+++ b/libavformat/argo_asf.c
@@ -466,6 +466,7 @@ static const AVOption argo_asf_options[] = {
static const AVClass argo_asf_muxer_class = {
.class_name = "argo_asf_muxer",
+ .item_name = av_default_item_name,
.option = argo_asf_options,
.version = LIBAVUTIL_VERSION_INT
};
diff --git a/libavformat/argo_cvg.c b/libavformat/argo_cvg.c
index 153f746b3d..2c74200b7d 100644
--- a/libavformat/argo_cvg.c
+++ b/libavformat/argo_cvg.c
@@ -396,6 +396,7 @@ static const AVOption argo_cvg_options[] = {
static const AVClass argo_cvg_muxer_class = {
.class_name = "argo_cvg_muxer",
+ .item_name = av_default_item_name,
.option = argo_cvg_options,
.version = LIBAVUTIL_VERSION_INT
};
diff --git a/libavformat/asfdec_f.c b/libavformat/asfdec_f.c
index 1c97d8b5b9..a579c3e894 100644
--- a/libavformat/asfdec_f.c
+++ b/libavformat/asfdec_f.c
@@ -125,6 +125,7 @@ static const AVOption options[] = {
static const AVClass asf_class = {
.class_name = "asf demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c
index 4cb59317a1..2f2d9b1bab 100644
--- a/libavformat/asfenc.c
+++ b/libavformat/asfenc.c
@@ -1121,6 +1121,7 @@ static const AVOption asf_options[] = {
static const AVClass asf_muxer_class = {
.class_name = "ASF (stream) muxer",
+ .item_name = av_default_item_name,
.option = asf_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/assenc.c b/libavformat/assenc.c
index 60112b88bc..62ea0745a4 100644
--- a/libavformat/assenc.c
+++ b/libavformat/assenc.c
@@ -223,6 +223,7 @@ static const AVOption options[] = {
static const AVClass ass_class = {
.class_name = "ass muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/astenc.c b/libavformat/astenc.c
index 250a54b573..c6b02e3848 100644
--- a/libavformat/astenc.c
+++ b/libavformat/astenc.c
@@ -192,6 +192,7 @@ static const AVOption options[] = {
static const AVClass ast_muxer_class = {
.class_name = "AST muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/async.c b/libavformat/async.c
index 283f50cf4b..e096b0bc6f 100644
--- a/libavformat/async.c
+++ b/libavformat/async.c
@@ -484,6 +484,7 @@ static const AVOption options[] = {
static const AVClass async_context_class = {
.class_name = "Async",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -585,6 +586,7 @@ static const AVOption async_test_options[] = {
static const AVClass async_test_context_class = {
.class_name = "Async-Test",
+ .item_name = av_default_item_name,
.option = async_test_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c
index 8b74fa1af8..8a06445958 100644
--- a/libavformat/av1dec.c
+++ b/libavformat/av1dec.c
@@ -116,6 +116,7 @@ static const AVOption av1_options[] = {
static const AVClass av1_demuxer_class = {
.class_name = "AV1 Annex B/low overhead OBU demuxer",
+ .item_name = av_default_item_name,
.option = av1_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 744ae64ff3..00bd7a98a9 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -97,6 +97,7 @@ static const AVOption options[] = {
static const AVClass demuxer_class = {
.class_name = "avi",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DEMUXER,
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index b44ddfe0aa..a61e5c3109 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -999,6 +999,7 @@ static const AVOption options[] = {
static const AVClass avi_muxer_class = {
.class_name = "AVI muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 0265035087..5a329ce465 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -66,6 +66,7 @@ static const AVOption ff_avio_options[] = {
const AVClass ff_avio_class = {
.class_name = "AVIOContext",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
.option = ff_avio_options,
.child_next = ff_avio_child_next,
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index ba8ffde426..027e8c63f6 100644
--- a/libavformat/avisynth.c
+++ b/libavformat/avisynth.c
@@ -1192,6 +1192,7 @@ static const AVOption avisynth_options[] = {
static const AVClass avisynth_demuxer_class = {
.class_name = "AviSynth demuxer",
+ .item_name = av_default_item_name,
.option = avisynth_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/bintext.c b/libavformat/bintext.c
index 860e2bf784..b6f14a03e5 100644
--- a/libavformat/bintext.c
+++ b/libavformat/bintext.c
@@ -382,6 +382,7 @@ static const AVOption options[] = {
#define CLASS(name) \
(const AVClass[1]){{ \
.class_name = name, \
+ .item_name = av_default_item_name, \
.option = options, \
.version = LIBAVUTIL_VERSION_INT, \
}}
diff --git a/libavformat/bluray.c b/libavformat/bluray.c
index 34ea05d603..1845551c34 100644
--- a/libavformat/bluray.c
+++ b/libavformat/bluray.c
@@ -51,6 +51,7 @@ static const AVOption options[] = {
static const AVClass bluray_context_class = {
.class_name = "bluray",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/cache.c b/libavformat/cache.c
index aba6230057..115c2c2490 100644
--- a/libavformat/cache.c
+++ b/libavformat/cache.c
@@ -327,6 +327,7 @@ static const AVOption options[] = {
static const AVClass cache_context_class = {
.class_name = "cache",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/cdxl.c b/libavformat/cdxl.c
index a7f5288faa..065148360e 100644
--- a/libavformat/cdxl.c
+++ b/libavformat/cdxl.c
@@ -252,6 +252,7 @@ static const AVOption cdxl_options[] = {
static const AVClass cdxl_demuxer_class = {
.class_name = "CDXL demuxer",
+ .item_name = av_default_item_name,
.option = cdxl_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/chromaprint.c b/libavformat/chromaprint.c
index 4b09b6f14f..9e5fd780c1 100644
--- a/libavformat/chromaprint.c
+++ b/libavformat/chromaprint.c
@@ -172,6 +172,7 @@ static const AVOption options[] = {
static const AVClass chromaprint_class = {
.class_name = "chromaprint muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/codec2.c b/libavformat/codec2.c
index 1d6ef2a14a..f0f7b89253 100644
--- a/libavformat/codec2.c
+++ b/libavformat/codec2.c
@@ -279,6 +279,7 @@ static const AVOption codec2raw_options[] = {
static const AVClass codec2_demux_class = {
.class_name = "codec2 demuxer",
+ .item_name = av_default_item_name,
.option = codec2_options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DEMUXER,
@@ -286,6 +287,7 @@ static const AVClass codec2_demux_class = {
static const AVClass codec2raw_demux_class = {
.class_name = "codec2raw demuxer",
+ .item_name = av_default_item_name,
.option = codec2raw_options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DEMUXER,
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index 5a7a063ef7..ffa8ade25b 100644
--- a/libavformat/concatdec.c
+++ b/libavformat/concatdec.c
@@ -930,6 +930,7 @@ static const AVOption options[] = {
static const AVClass concat_class = {
.class_name = "concat demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/crypto.c b/libavformat/crypto.c
index d0eb7fbe5d..75b00020bc 100644
--- a/libavformat/crypto.c
+++ b/libavformat/crypto.c
@@ -73,6 +73,7 @@ static const AVOption options[] = {
static const AVClass crypto_class = {
.class_name = "crypto",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index a60abe05ce..1215407f3c 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -2350,6 +2350,7 @@ static const AVOption dash_options[] = {
static const AVClass dash_class = {
.class_name = "dash",
+ .item_name = av_default_item_name,
.option = dash_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 5ca1661119..2f5394c308 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -2411,6 +2411,7 @@ static const AVOption options[] = {
static const AVClass dash_class = {
.class_name = "dash muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/dfpwmdec.c b/libavformat/dfpwmdec.c
index a92649ddfe..b92b00f13a 100644
--- a/libavformat/dfpwmdec.c
+++ b/libavformat/dfpwmdec.c
@@ -81,6 +81,7 @@ static const AVOption dfpwm_options[] = {
};
static const AVClass dfpwm_demuxer_class = {
.class_name = "dfpwm demuxer",
+ .item_name = av_default_item_name,
.option = dfpwm_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index 1d0c119c73..e7f574aede 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -778,6 +778,7 @@ static const AVOption options[] = {
static const AVClass ea_class = {
.class_name = "ea demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/evcdec.c b/libavformat/evcdec.c
index 2dad6c2f7a..5ace604db6 100644
--- a/libavformat/evcdec.c
+++ b/libavformat/evcdec.c
@@ -51,6 +51,7 @@ static const AVOption evc_options[] = {
static const AVClass evc_demuxer_class = {
.class_name = "EVC Annex B demuxer",
+ .item_name = av_default_item_name,
.option = evc_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/fifo.c b/libavformat/fifo.c
index 9d9796fd32..8fb4975a5c 100644
--- a/libavformat/fifo.c
+++ b/libavformat/fifo.c
@@ -706,6 +706,7 @@ static const AVOption options[] = {
static const AVClass fifo_muxer_class = {
.class_name = "Fifo muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/fifo_test.c b/libavformat/fifo_test.c
index d4f6800c5d..3861c4aee4 100644
--- a/libavformat/fifo_test.c
+++ b/libavformat/fifo_test.c
@@ -133,6 +133,7 @@ static const AVOption options[] = {
static const AVClass failing_muxer_class = {
.class_name = "Fifo test muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/file.c b/libavformat/file.c
index 712382c42d..64df7ff6fb 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -117,18 +117,21 @@ static const AVOption pipe_options[] = {
static const AVClass file_class = {
.class_name = "file",
+ .item_name = av_default_item_name,
.option = file_options,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVClass pipe_class = {
.class_name = "pipe",
+ .item_name = av_default_item_name,
.option = pipe_options,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVClass fd_class = {
.class_name = "fd",
+ .item_name = av_default_item_name,
.option = pipe_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/fitsdec.c b/libavformat/fitsdec.c
index e6a7dadbe5..e0f502e4e3 100644
--- a/libavformat/fitsdec.c
+++ b/libavformat/fitsdec.c
@@ -214,6 +214,7 @@ static const AVOption fits_options[] = {
static const AVClass fits_demuxer_class = {
.class_name = "FITS demuxer",
+ .item_name = av_default_item_name,
.option = fits_options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DEMUXER,
diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c
index e4fd87930e..a8beec7750 100644
--- a/libavformat/flacenc.c
+++ b/libavformat/flacenc.c
@@ -409,6 +409,7 @@ static const AVOption flacenc_options[] = {
static const AVClass flac_muxer_class = {
.class_name = "flac muxer",
+ .item_name = av_default_item_name,
.option = flacenc_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 639a9f84d9..e25b5bd163 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -1407,6 +1407,7 @@ static const AVOption options[] = {
static const AVClass flv_kux_class = {
.class_name = "(live) flv/kux demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 289489ebb1..874560fac1 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -1105,6 +1105,7 @@ static const AVOption options[] = {
static const AVClass flv_muxer_class = {
.class_name = "flv muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/ftp.c b/libavformat/ftp.c
index 23dd5da3f7..f9b069a59e 100644
--- a/libavformat/ftp.c
+++ b/libavformat/ftp.c
@@ -92,6 +92,7 @@ static const AVOption options[] = {
static const AVClass ftp_context_class = {
.class_name = "ftp",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/g726.c b/libavformat/g726.c
index 016ab70dda..97580a74f8 100644
--- a/libavformat/g726.c
+++ b/libavformat/g726.c
@@ -69,6 +69,7 @@ static const AVOption options[] = {
static const AVClass g726_demuxer_class = {
.class_name = "G.726 demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/g729dec.c b/libavformat/g729dec.c
index e6ecb5297a..9c92ea4fcf 100644
--- a/libavformat/g729dec.c
+++ b/libavformat/g729dec.c
@@ -88,6 +88,7 @@ static const AVOption g729_options[] = {
static const AVClass g729_demuxer_class = {
.class_name = "g729 demuxer",
+ .item_name = av_default_item_name,
.option = g729_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/gif.c b/libavformat/gif.c
index 23ffcef0b5..568867cc5d 100644
--- a/libavformat/gif.c
+++ b/libavformat/gif.c
@@ -200,6 +200,7 @@ static const AVOption options[] = {
static const AVClass gif_muxer_class = {
.class_name = "GIF muxer",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
.option = options,
};
diff --git a/libavformat/gifdec.c b/libavformat/gifdec.c
index d22f70e4c9..32286adafe 100644
--- a/libavformat/gifdec.c
+++ b/libavformat/gifdec.c
@@ -272,6 +272,7 @@ static const AVOption options[] = {
static const AVClass demuxer_class = {
.class_name = "GIF demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DEMUXER,
diff --git a/libavformat/gsmdec.c b/libavformat/gsmdec.c
index 2f1cc159f3..7150daa510 100644
--- a/libavformat/gsmdec.c
+++ b/libavformat/gsmdec.c
@@ -97,6 +97,7 @@ static const AVOption options[] = {
static const AVClass gsm_class = {
.class_name = "gsm demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/hashenc.c b/libavformat/hashenc.c
index a7ed15dfbd..17ee2f7e9f 100644
--- a/libavformat/hashenc.c
+++ b/libavformat/hashenc.c
@@ -52,6 +52,7 @@ static const AVOption hash_streamhash_options[] = {
static const AVClass hash_streamhashenc_class = {
.class_name = "(stream) hash muxer",
+ .item_name = av_default_item_name,
.option = hash_streamhash_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -191,6 +192,7 @@ const FFOutputFormat ff_hash_muxer = {
#if CONFIG_MD5_MUXER
static const AVClass md5enc_class = {
.class_name = "MD5 muxer",
+ .item_name = av_default_item_name,
.option = md5_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -318,6 +320,7 @@ static int framehash_write_packet(struct AVFormatContext *s, AVPacket *pkt)
#if CONFIG_FRAMEHASH_MUXER
static const AVClass framehash_class = {
.class_name = "frame hash muxer",
+ .item_name = av_default_item_name,
.option = framehash_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -341,6 +344,7 @@ const FFOutputFormat ff_framehash_muxer = {
#if CONFIG_FRAMEMD5_MUXER
static const AVClass framemd5_class = {
.class_name = "frame MD5 muxer",
+ .item_name = av_default_item_name,
.option = framemd5_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/hca.c b/libavformat/hca.c
index 3d36565fc1..e796512a62 100644
--- a/libavformat/hca.c
+++ b/libavformat/hca.c
@@ -143,6 +143,7 @@ static const AVOption hca_options[] = {
static const AVClass hca_class = {
.class_name = "hca",
+ .item_name = av_default_item_name,
.option = hca_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c
index 8386d28c79..7062441b70 100644
--- a/libavformat/hdsenc.c
+++ b/libavformat/hdsenc.c
@@ -563,6 +563,7 @@ static const AVOption options[] = {
static const AVClass hds_class = {
.class_name = "HDS muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/hls.c b/libavformat/hls.c
index a69430a457..61e2d67588 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -2589,6 +2589,7 @@ static const AVOption hls_options[] = {
static const AVClass hls_class = {
.class_name = "hls demuxer",
+ .item_name = av_default_item_name,
.option = hls_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index a0c2408f12..55123d2297 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -3186,6 +3186,7 @@ static const AVOption options[] = {
static const AVClass hls_class = {
.class_name = "hls muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/http.c b/libavformat/http.c
index 8113043ffb..c0fe7c36d9 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -1986,6 +1986,7 @@ static int http_get_short_seek(URLContext *h)
#define HTTP_CLASS(flavor) \
static const AVClass flavor ## _context_class = { \
.class_name = # flavor, \
+ .item_name = av_default_item_name, \
.option = options, \
.version = LIBAVUTIL_VERSION_INT, \
}
diff --git a/libavformat/icecast.c b/libavformat/icecast.c
index f883f38777..b06c53cabd 100644
--- a/libavformat/icecast.c
+++ b/libavformat/icecast.c
@@ -207,6 +207,7 @@ static int icecast_write(URLContext *h, const uint8_t *buf, int size)
static const AVClass icecast_context_class = {
.class_name = "icecast",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c
index 4525ed5909..818b5e590b 100644
--- a/libavformat/imfdec.c
+++ b/libavformat/imfdec.c
@@ -1014,6 +1014,7 @@ static const AVOption imf_options[] = {
static const AVClass imf_class = {
.class_name = "imf",
+ .item_name = av_default_item_name,
.option = imf_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/img2_alias_pix.c b/libavformat/img2_alias_pix.c
index cc5a4f3b1f..d0aac83924 100644
--- a/libavformat/img2_alias_pix.c
+++ b/libavformat/img2_alias_pix.c
@@ -56,6 +56,7 @@ static int alias_pix_read_probe(const AVProbeData *p)
static const AVClass image2_alias_pix_class = {
.class_name = "alias_pix demuxer",
+ .item_name = av_default_item_name,
.option = ff_img_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/img2_brender_pix.c b/libavformat/img2_brender_pix.c
index 50e65dda55..9d9a7c0819 100644
--- a/libavformat/img2_brender_pix.c
+++ b/libavformat/img2_brender_pix.c
@@ -40,6 +40,7 @@ static int brender_read_probe(const AVProbeData *p)
static const AVClass image2_brender_pix_class = {
.class_name = "brender_pix demuxer",
+ .item_name = av_default_item_name,
.option = ff_img_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index a719d5ff2a..2761cb37a4 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -634,6 +634,7 @@ const AVOption ff_img_options[] = {
static const AVClass img2_class = {
.class_name = "image2 demuxer",
+ .item_name = av_default_item_name,
.option = ff_img_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -657,6 +658,7 @@ static const AVOption img2pipe_options[] = {
};
static const AVClass imagepipe_class = {
.class_name = "imagepipe demuxer",
+ .item_name = av_default_item_name,
.option = img2pipe_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c
index acfb404c6d..526a11e5ee 100644
--- a/libavformat/img2enc.c
+++ b/libavformat/img2enc.c
@@ -266,6 +266,7 @@ static const AVOption muxoptions[] = {
#if CONFIG_IMAGE2_MUXER
static const AVClass img2mux_class = {
.class_name = "image2 muxer",
+ .item_name = av_default_item_name,
.option = muxoptions,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/ipfsgateway.c b/libavformat/ipfsgateway.c
index 879a33d818..9c0d461099 100644
--- a/libavformat/ipfsgateway.c
+++ b/libavformat/ipfsgateway.c
@@ -331,6 +331,7 @@ static const AVOption options[] = {
static const AVClass ipfs_gateway_context_class = {
.class_name = "IPFS Gateway",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index 77da397c29..8eec632c54 100644
--- a/libavformat/latmenc.c
+++ b/libavformat/latmenc.c
@@ -52,6 +52,7 @@ static const AVOption options[] = {
static const AVClass latm_muxer_class = {
.class_name = "LATM/LOAS muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/libamqp.c b/libavformat/libamqp.c
index 24ad3e87f0..c3b9c484ea 100644
--- a/libavformat/libamqp.c
+++ b/libavformat/libamqp.c
@@ -306,6 +306,7 @@ static int amqp_proto_close(URLContext *h)
static const AVClass amqp_context_class = {
.class_name = "amqp",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/libgme.c b/libavformat/libgme.c
index 4d04537339..695155c9ac 100644
--- a/libavformat/libgme.c
+++ b/libavformat/libgme.c
@@ -188,6 +188,7 @@ static int probe_gme(const AVProbeData *p)
static const AVClass class_gme = {
.class_name = "Game Music Emu demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/libmodplug.c b/libavformat/libmodplug.c
index f0c5dd9f18..0cae13bd2e 100644
--- a/libavformat/libmodplug.c
+++ b/libavformat/libmodplug.c
@@ -375,6 +375,7 @@ static int modplug_probe(const AVProbeData *p)
static const AVClass modplug_class = {
.class_name = "ModPlug demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/libopenmpt.c b/libavformat/libopenmpt.c
index 8f46ef2415..3ca59f506f 100644
--- a/libavformat/libopenmpt.c
+++ b/libavformat/libopenmpt.c
@@ -273,6 +273,7 @@ static int read_probe_openmpt(const AVProbeData *p)
static const AVClass class_openmpt = {
.class_name = "libopenmpt",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/librist.c b/libavformat/librist.c
index e43dad7388..5f27cacd44 100644
--- a/libavformat/librist.c
+++ b/libavformat/librist.c
@@ -252,6 +252,7 @@ static int librist_write(URLContext *h, const uint8_t *buf, int size)
static const AVClass librist_class = {
.class_name = "librist",
+ .item_name = av_default_item_name,
.option = librist_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index 800d2711aa..b7e9fc81cf 100644
--- a/libavformat/librtmp.c
+++ b/libavformat/librtmp.c
@@ -284,6 +284,7 @@ static const AVOption options[] = {
#define RTMP_CLASS(flavor)\
static const AVClass lib ## flavor ## _class = {\
.class_name = "lib" #flavor " protocol",\
+ .item_name = av_default_item_name,\
.option = options,\
.version = LIBAVUTIL_VERSION_INT,\
};
diff --git a/libavformat/libsmbclient.c b/libavformat/libsmbclient.c
index ae51956a6f..f81fff2dfc 100644
--- a/libavformat/libsmbclient.c
+++ b/libavformat/libsmbclient.c
@@ -358,6 +358,7 @@ static const AVOption options[] = {
static const AVClass libsmbclient_context_class = {
.class_name = "libsmbc",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c
index 1cc7ec9f86..cd8f5b1e7d 100644
--- a/libavformat/libsrt.c
+++ b/libavformat/libsrt.c
@@ -727,6 +727,7 @@ static int libsrt_close(URLContext *h)
static const AVClass libsrt_class = {
.class_name = "libsrt",
+ .item_name = av_default_item_name,
.option = libsrt_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/libssh.c b/libavformat/libssh.c
index 6e434bf7cc..127faaabd3 100644
--- a/libavformat/libssh.c
+++ b/libavformat/libssh.c
@@ -481,6 +481,7 @@ static const AVOption options[] = {
static const AVClass libssh_context_class = {
.class_name = "libssh",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/libzmq.c b/libavformat/libzmq.c
index b4b0856121..04c72ac601 100644
--- a/libavformat/libzmq.c
+++ b/libavformat/libzmq.c
@@ -187,6 +187,7 @@ static int zmq_proto_close(URLContext *h)
static const AVClass zmq_context_class = {
.class_name = "zmq",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index f00a854fb0..8f000f86be 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -4772,6 +4772,7 @@ static const AVOption options[] = {
static const AVClass webm_dash_class = {
.class_name = "WebM DASH Manifest demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index bceefdc9b0..1457a6890c 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -3516,6 +3516,7 @@ static const AVOption options[] = {
static const AVClass matroska_webm_class = {
.class_name = "matroska/webm muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/microdvddec.c b/libavformat/microdvddec.c
index 2d424dff4e..e536d12b85 100644
--- a/libavformat/microdvddec.c
+++ b/libavformat/microdvddec.c
@@ -193,6 +193,7 @@ static const AVOption microdvd_options[] = {
static const AVClass microdvd_class = {
.class_name = "microdvddec",
+ .item_name = av_default_item_name,
.option = microdvd_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 7e3b0c4a55..5cb907e120 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -9546,6 +9546,7 @@ static const AVOption mov_options[] = {
static const AVClass mov_class = {
.class_name = "mov,mp4,m4a,3gp,3g2,mj2",
+ .item_name = av_default_item_name,
.option = mov_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index c95410f5c1..8a27afbc57 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -125,6 +125,7 @@ static const AVOption options[] = {
static const AVClass mov_isobmff_muxer_class = {
.class_name = "mov/mp4/tgp/psp/tg2/ipod/ismv/f4v muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -7923,6 +7924,7 @@ static const AVCodecTag *const codec_avif_tags_list[] = { codec_avif_tags, NULL
static const AVClass mov_avif_muxer_class = {
.class_name = "avif muxer",
+ .item_name = av_default_item_name,
.option = avif_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index 466338f4bf..05c13228bc 100644
--- a/libavformat/mp3dec.c
+++ b/libavformat/mp3dec.c
@@ -604,6 +604,7 @@ static const AVOption options[] = {
static const AVClass demuxer_class = {
.class_name = "mp3",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DEMUXER,
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index cc69a48238..cb250a46ca 100644
--- a/libavformat/mp3enc.c
+++ b/libavformat/mp3enc.c
@@ -515,6 +515,7 @@ static const AVOption options[] = {
static const AVClass mp3_muxer_class = {
.class_name = "MP3 muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 0505aed57e..781c3162d6 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -1040,6 +1040,7 @@ static const AVOption options[] = {
static const AVClass vobsub_demuxer_class = {
.class_name = "vobsub",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index 632ed3eae6..12d9fb33ec 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -1298,6 +1298,7 @@ static const AVOption options[] = {
static const AVClass mpeg_class = {
.class_name = "mpeg/(s)vcd/vob/dvd muxer",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
.option = options,
};
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index a3173cf38d..c7fd1f5d1f 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -209,6 +209,7 @@ static const AVOption options[] = {
static const AVClass mpegts_class = {
.class_name = "mpegts demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -227,6 +228,7 @@ static const AVOption raw_options[] = {
static const AVClass mpegtsraw_class = {
.class_name = "mpegtsraw demuxer",
+ .item_name = av_default_item_name,
.option = raw_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 6bdd09d8a5..84edd418f0 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -2343,6 +2343,7 @@ static const AVOption options[] = {
static const AVClass mpegts_muxer_class = {
.class_name = "MPEGTS muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/mpjpeg.c b/libavformat/mpjpeg.c
index 07b1da84a1..81ace8e9ee 100644
--- a/libavformat/mpjpeg.c
+++ b/libavformat/mpjpeg.c
@@ -57,6 +57,7 @@ static const AVOption options[] = {
static const AVClass mpjpeg_muxer_class = {
.class_name = "mpjpeg_muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/mpjpegdec.c b/libavformat/mpjpegdec.c
index ccec42c781..236aed716a 100644
--- a/libavformat/mpjpegdec.c
+++ b/libavformat/mpjpegdec.c
@@ -363,6 +363,7 @@ static const AVOption mpjpeg_options[] = {
static const AVClass mpjpeg_demuxer_class = {
.class_name = "MPJPEG demuxer",
+ .item_name = av_default_item_name,
.option = mpjpeg_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 417848b3ea..e42975e7fd 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -4308,6 +4308,7 @@ static const AVOption options[] = {
static const AVClass demuxer_class = {
.class_name = "mxf",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_DEMUXER,
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 86fe86ee3c..685c11b3a5 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -3574,6 +3574,7 @@ static const AVOption mxf_options[] = {
static const AVClass mxf_muxer_class = {
.class_name = "MXF muxer",
+ .item_name = av_default_item_name,
.option = mxf_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -3589,6 +3590,7 @@ static const AVOption d10_options[] = {
static const AVClass mxf_d10_muxer_class = {
.class_name = "MXF-D10 muxer",
+ .item_name = av_default_item_name,
.option = d10_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -3604,6 +3606,7 @@ static const AVOption opatom_options[] = {
static const AVClass mxf_opatom_muxer_class = {
.class_name = "MXF-OPAtom muxer",
+ .item_name = av_default_item_name,
.option = opatom_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 4a96dec593..a5198c7ca9 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -1248,6 +1248,7 @@ static const AVOption options[] = {
static const AVClass class = {
.class_name = "nutenc",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c
index 38ceb17495..69a66f586d 100644
--- a/libavformat/oggenc.c
+++ b/libavformat/oggenc.c
@@ -97,6 +97,7 @@ static const AVOption options[] = {
static const AVClass ogg_muxer_class = {
.class_name = "Ogg (audio/video/Speex/Opus) muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/options.c b/libavformat/options.c
index e79ae221d9..75ec86ce05 100644
--- a/libavformat/options.c
+++ b/libavformat/options.c
@@ -244,6 +244,7 @@ static const AVOption stream_options[] = {
static const AVClass stream_class = {
.class_name = "AVStream",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
.option = stream_options,
};
@@ -383,6 +384,7 @@ static const AVOption stream_group_options[] = {
static const AVClass stream_group_class = {
.class_name = "AVStreamGroup",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
.option = stream_group_options,
.child_next = stream_group_child_next,
diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c
index abaa435b44..11ba0b5c0c 100644
--- a/libavformat/pcmdec.c
+++ b/libavformat/pcmdec.c
@@ -124,6 +124,7 @@ static const AVOption pcm_options[] = {
};
static const AVClass pcm_demuxer_class = {
.class_name = "pcm demuxer",
+ .item_name = av_default_item_name,
.option = pcm_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -190,6 +191,7 @@ static const AVOption sln_options[] = {
static const AVClass sln_demuxer_class = {
.class_name = "sln demuxer",
+ .item_name = av_default_item_name,
.option = sln_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/prompeg.c b/libavformat/prompeg.c
index 98f25df453..59faa824bb 100644
--- a/libavformat/prompeg.c
+++ b/libavformat/prompeg.c
@@ -129,6 +129,7 @@ static const AVOption options[] = {
static const AVClass prompeg_class = {
.class_name = "prompeg",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 0070b0b412..1dd7fafcf0 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -126,6 +126,7 @@ static const AVOption rawvideo_options[] = {
const AVClass ff_rawvideo_demuxer_class = {
.class_name = "generic raw video demuxer",
+ .item_name = av_default_item_name,
.option = rawvideo_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -138,6 +139,7 @@ static const AVOption raw_options[] = {
const AVClass ff_raw_demuxer_class = {
.class_name = "generic raw demuxer",
+ .item_name = av_default_item_name,
.option = raw_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/rawvideodec.c b/libavformat/rawvideodec.c
index 2b81dad86e..514e4e044f 100644
--- a/libavformat/rawvideodec.c
+++ b/libavformat/rawvideodec.c
@@ -144,6 +144,7 @@ static const AVOption rawvideo_options[] = {
static const AVClass rawvideo_demuxer_class = {
.class_name = "rawvideo demuxer",
+ .item_name = av_default_item_name,
.option = rawvideo_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -162,6 +163,7 @@ const AVInputFormat ff_rawvideo_demuxer = {
static const AVClass bitpacked_demuxer_class = {
.class_name = "bitpacked demuxer",
+ .item_name = av_default_item_name,
.option = rawvideo_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -182,6 +184,7 @@ const AVInputFormat ff_bitpacked_demuxer = {
static const AVClass v210_demuxer_class = {
.class_name = "v210(x) demuxer",
+ .item_name = av_default_item_name,
.option = rawvideo_options + 1,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/rtmpcrypt.c b/libavformat/rtmpcrypt.c
index b7b610f4e7..a835ab263f 100644
--- a/libavformat/rtmpcrypt.c
+++ b/libavformat/rtmpcrypt.c
@@ -320,6 +320,7 @@ static const AVOption ffrtmpcrypt_options[] = {
static const AVClass ffrtmpcrypt_class = {
.class_name = "ffrtmpcrypt",
+ .item_name = av_default_item_name,
.option = ffrtmpcrypt_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/rtmphttp.c b/libavformat/rtmphttp.c
index 1f88243b00..c920c19ab5 100644
--- a/libavformat/rtmphttp.c
+++ b/libavformat/rtmphttp.c
@@ -268,6 +268,7 @@ static const AVOption ffrtmphttp_options[] = {
static const AVClass ffrtmphttp_class = {
.class_name = "ffrtmphttp",
+ .item_name = av_default_item_name,
.option = ffrtmphttp_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 5f6dfcb2fe..98718bc6da 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -3161,6 +3161,7 @@ static const AVOption rtmp_options[] = {
#define RTMP_PROTOCOL_1(flavor) \
static const AVClass flavor##_class = { \
.class_name = #flavor, \
+ .item_name = av_default_item_name, \
.option = rtmp_options, \
.version = LIBAVUTIL_VERSION_INT, \
}; \
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index 472cb97e00..a8d296a154 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -40,6 +40,7 @@ static const AVOption options[] = {
static const AVClass rtp_muxer_class = {
.class_name = "RTP muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/rtpenc_mpegts.c b/libavformat/rtpenc_mpegts.c
index c00461c8eb..0d6403a048 100644
--- a/libavformat/rtpenc_mpegts.c
+++ b/libavformat/rtpenc_mpegts.c
@@ -183,6 +183,7 @@ static const AVOption options[] = {
static const AVClass rtp_mpegts_class = {
.class_name = "rtp_mpegts muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index 5b34271b75..cac361047a 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -86,6 +86,7 @@ static const AVOption options[] = {
static const AVClass rtp_class = {
.class_name = "rtp",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 61e24a5c7a..c7d9b48684 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -2479,6 +2479,7 @@ static int sdp_read_close(AVFormatContext *s)
static const AVClass sdp_demuxer_class = {
.class_name = "SDP demuxer",
+ .item_name = av_default_item_name,
.option = sdp_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -2637,6 +2638,7 @@ fail:
static const AVClass rtp_demuxer_class = {
.class_name = "RTP demuxer",
+ .item_name = av_default_item_name,
.option = rtp_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
index d6a223cbc6..b54ce4e597 100644
--- a/libavformat/rtspdec.c
+++ b/libavformat/rtspdec.c
@@ -987,6 +987,7 @@ static int rtsp_read_seek(AVFormatContext *s, int stream_index,
static const AVClass rtsp_demuxer_class = {
.class_name = "RTSP demuxer",
+ .item_name = av_default_item_name,
.option = ff_rtsp_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/rtspenc.c b/libavformat/rtspenc.c
index 96031dcdba..3d444ccbfd 100644
--- a/libavformat/rtspenc.c
+++ b/libavformat/rtspenc.c
@@ -38,6 +38,7 @@
static const AVClass rtsp_muxer_class = {
.class_name = "RTSP muxer",
+ .item_name = av_default_item_name,
.option = ff_rtsp_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c
index 7eaebcc652..b2662ea418 100644
--- a/libavformat/sbgdec.c
+++ b/libavformat/sbgdec.c
@@ -1524,6 +1524,7 @@ static const AVOption sbg_options[] = {
static const AVClass sbg_demuxer_class = {
.class_name = "sbg_demuxer",
+ .item_name = av_default_item_name,
.option = sbg_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/sctp.c b/libavformat/sctp.c
index 703937ce66..9d9e90097e 100644
--- a/libavformat/sctp.c
+++ b/libavformat/sctp.c
@@ -170,6 +170,7 @@ static const AVOption options[] = {
static const AVClass sctp_class = {
.class_name = "sctp",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 5c97114037..2a82f39f31 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -1084,6 +1084,7 @@ static const AVOption options[] = {
static const AVClass seg_class = {
.class_name = "(stream) segment muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/serdec.c b/libavformat/serdec.c
index ee947644e3..639c899249 100644
--- a/libavformat/serdec.c
+++ b/libavformat/serdec.c
@@ -127,6 +127,7 @@ static const AVOption ser_options[] = {
static const AVClass ser_demuxer_class = {
.class_name = "ser demuxer",
+ .item_name = av_default_item_name,
.option = ser_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c
index f556c14496..0379e9a079 100644
--- a/libavformat/smoothstreamingenc.c
+++ b/libavformat/smoothstreamingenc.c
@@ -635,6 +635,7 @@ static const AVOption options[] = {
static const AVClass ism_class = {
.class_name = "smooth streaming muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index 6bb187a416..ca38674626 100644
--- a/libavformat/spdifenc.c
+++ b/libavformat/spdifenc.c
@@ -103,6 +103,7 @@ static const AVOption options[] = {
static const AVClass spdif_class = {
.class_name = "spdif",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/srtpproto.c b/libavformat/srtpproto.c
index e2984bc3ee..61669e05ad 100644
--- a/libavformat/srtpproto.c
+++ b/libavformat/srtpproto.c
@@ -47,6 +47,7 @@ static const AVOption options[] = {
static const AVClass srtp_context_class = {
.class_name = "srtp",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/subfile.c b/libavformat/subfile.c
index 4e2872d63a..633a9e3c62 100644
--- a/libavformat/subfile.c
+++ b/libavformat/subfile.c
@@ -44,6 +44,7 @@ static const AVOption subfile_options[] = {
static const AVClass subfile_class = {
.class_name = "subfile",
+ .item_name = av_default_item_name,
.option = subfile_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/tcp.c b/libavformat/tcp.c
index 87a074ec18..db41394a84 100644
--- a/libavformat/tcp.c
+++ b/libavformat/tcp.c
@@ -69,6 +69,7 @@ static const AVOption options[] = {
static const AVClass tcp_class = {
.class_name = "tcp",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/tedcaptionsdec.c b/libavformat/tedcaptionsdec.c
index eea871f0ec..a8aa9d9cf9 100644
--- a/libavformat/tedcaptionsdec.c
+++ b/libavformat/tedcaptionsdec.c
@@ -42,6 +42,7 @@ static const AVOption tedcaptions_options[] = {
static const AVClass tedcaptions_demuxer_class = {
.class_name = "tedcaptions_demuxer",
+ .item_name = av_default_item_name,
.option = tedcaptions_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/tee.c b/libavformat/tee.c
index 8f161d51ee..cfa8346bc9 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -74,6 +74,7 @@ static const AVOption options[] = {
static const AVClass tee_muxer_class = {
.class_name = "Tee muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/tls_gnutls.c b/libavformat/tls_gnutls.c
index 8907819d0f..2ab38a199b 100644
--- a/libavformat/tls_gnutls.c
+++ b/libavformat/tls_gnutls.c
@@ -294,6 +294,7 @@ static const AVOption options[] = {
static const AVClass tls_class = {
.class_name = "tls",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/tls_libtls.c b/libavformat/tls_libtls.c
index 68a6572828..22858d4867 100644
--- a/libavformat/tls_libtls.c
+++ b/libavformat/tls_libtls.c
@@ -198,6 +198,7 @@ static const AVOption options[] = {
static const AVClass tls_class = {
.class_name = "tls",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/tls_mbedtls.c b/libavformat/tls_mbedtls.c
index 7434f0826d..8503523b6d 100644
--- a/libavformat/tls_mbedtls.c
+++ b/libavformat/tls_mbedtls.c
@@ -350,6 +350,7 @@ static const AVOption options[] = {
static const AVClass tls_class = {
.class_name = "tls",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/tls_openssl.c b/libavformat/tls_openssl.c
index 112d35f91f..8bf766c01f 100644
--- a/libavformat/tls_openssl.c
+++ b/libavformat/tls_openssl.c
@@ -380,6 +380,7 @@ static const AVOption options[] = {
static const AVClass tls_class = {
.class_name = "tls",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/tls_schannel.c b/libavformat/tls_schannel.c
index 32c7607b8a..d4959f75fa 100644
--- a/libavformat/tls_schannel.c
+++ b/libavformat/tls_schannel.c
@@ -602,6 +602,7 @@ static const AVOption options[] = {
static const AVClass tls_class = {
.class_name = "tls",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/tls_securetransport.c b/libavformat/tls_securetransport.c
index 7b8d03130d..f6a1a5e7b6 100644
--- a/libavformat/tls_securetransport.c
+++ b/libavformat/tls_securetransport.c
@@ -409,6 +409,7 @@ static const AVOption options[] = {
static const AVClass tls_class = {
.class_name = "tls",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/tty.c b/libavformat/tty.c
index 62f570636e..fbea3196fa 100644
--- a/libavformat/tty.c
+++ b/libavformat/tty.c
@@ -173,6 +173,7 @@ static const AVOption options[] = {
static const AVClass tty_demuxer_class = {
.class_name = "TTY demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/udp.c b/libavformat/udp.c
index ecac0ef40b..d9514f5026 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -144,12 +144,14 @@ static const AVOption options[] = {
static const AVClass udp_class = {
.class_name = "udp",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
static const AVClass udplite_context_class = {
.class_name = "udplite",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/unix.c b/libavformat/unix.c
index 31a01efeb5..e668744580 100644
--- a/libavformat/unix.c
+++ b/libavformat/unix.c
@@ -55,6 +55,7 @@ static const AVOption unix_options[] = {
static const AVClass unix_class = {
.class_name = "unix",
+ .item_name = av_default_item_name,
.option = unix_options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/vapoursynth.c b/libavformat/vapoursynth.c
index b8778a7398..b79ecfcf1b 100644
--- a/libavformat/vapoursynth.c
+++ b/libavformat/vapoursynth.c
@@ -475,6 +475,7 @@ static av_cold int probe_vs(const AVProbeData *p)
static const AVClass class_vs = {
.class_name = "VapourSynth demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index 7066609365..0c6629b157 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -824,6 +824,7 @@ static int wav_read_seek(AVFormatContext *s,
static const AVClass wav_demuxer_class = {
.class_name = "WAV demuxer",
+ .item_name = av_default_item_name,
.option = demux_options,
.version = LIBAVUTIL_VERSION_INT,
};
@@ -986,6 +987,7 @@ static int w64_read_header(AVFormatContext *s)
static const AVClass w64_demuxer_class = {
.class_name = "W64 demuxer",
+ .item_name = av_default_item_name,
.option = &demux_options[W64_DEMUXER_OPTIONS_OFFSET],
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/wavenc.c b/libavformat/wavenc.c
index 34f4640e91..82acb9ef0f 100644
--- a/libavformat/wavenc.c
+++ b/libavformat/wavenc.c
@@ -503,6 +503,7 @@ static const AVOption options[] = {
static const AVClass wav_muxer_class = {
.class_name = "WAV muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c
index 0ce0c2b630..494a83f507 100644
--- a/libavformat/webm_chunk.c
+++ b/libavformat/webm_chunk.c
@@ -287,6 +287,7 @@ static const AVOption options[] = {
static const AVClass webm_chunk_class = {
.class_name = "WebM Chunk Muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/webmdashenc.c b/libavformat/webmdashenc.c
index a8c8472b70..31ea3c6e8c 100644
--- a/libavformat/webmdashenc.c
+++ b/libavformat/webmdashenc.c
@@ -537,6 +537,7 @@ static const AVOption options[] = {
static const AVClass webm_dash_class = {
.class_name = "WebM DASH Manifest muxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};
diff --git a/libavformat/webpenc.c b/libavformat/webpenc.c
index 9d1bd917f5..ea7a321975 100644
--- a/libavformat/webpenc.c
+++ b/libavformat/webpenc.c
@@ -220,6 +220,7 @@ static const AVOption options[] = {
static const AVClass webp_muxer_class = {
.class_name = "WebP muxer",
+ .item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
.option = options,
};
diff --git a/libavformat/webvttdec.c b/libavformat/webvttdec.c
index d6ba04db44..0b2fc77168 100644
--- a/libavformat/webvttdec.c
+++ b/libavformat/webvttdec.c
@@ -205,6 +205,7 @@ static const AVOption options[] = {
static const AVClass webvtt_demuxer_class = {
.class_name = "WebVTT demuxer",
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
};