History

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.

Anton Khirnov committed 2 years ago

Commit 08bebeb1 parent a8bc79c363 files · +408 −0Browse files

Showing the changes to libavcodec/vaapi_encode_mpeg2.c (1 of 363 files). Show all

Unified · Split

libavcodec/vaapi_encode_mpeg2.c+1−0
@@ -682,6 +682,7 @@ static const FFCodecDefault vaapi_encode_mpeg2_defaults[] = { · 681 unmodified lines
682682
683683 static const AVClass vaapi_encode_mpeg2_class = {
684684 .class_name = "mpeg2_vaapi",
685+ .item_name = av_default_item_name,
685686 .option = vaapi_encode_mpeg2_options,
686687 .version = LIBAVUTIL_VERSION_INT,
687688 };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t