diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-01-19 13:33:28 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-01-20 10:34:48 +0100 |
commit | 08bebeb1bed3feee99d30cd6066d3466291dc8ed (patch) | |
tree | 89bcdd9a892d3a837b1a09d3ab0bde48557c4049 /libavcodec/mpeg12enc.c | |
parent | a8bc79c3fd96a8287e241e6913ad5cf4d4838f5c (diff) | |
download | ffmpeg-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/mpeg12enc.c')
-rw-r--r-- | libavcodec/mpeg12enc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, \ }; |