Some callers assume that item_name is always set, so this may be considered an API break. This reverts commit 0c6203c97a99f69dbaa6e4011d48c331e1111f5e.
Showing the changes to libavcodec/vaapi_encode_mpeg2.c (1 of 363 files). Show all
Unified · Split
| @@ -682,6 +682,7 @@ static const FFCodecDefault vaapi_encode_mpeg2_defaults[] = { · 681 unmodified lines | |||
| 682 | 682 | ||
| 683 | static const AVClass vaapi_encode_mpeg2_class = { | 683 | static const AVClass vaapi_encode_mpeg2_class = { |
| 684 | .class_name = "mpeg2_vaapi", | 684 | .class_name = "mpeg2_vaapi", |
| 685 | .item_name = av_default_item_name, | ||
| 685 | .option = vaapi_encode_mpeg2_options, | 686 | .option = vaapi_encode_mpeg2_options, |
| 686 | .version = LIBAVUTIL_VERSION_INT, | 687 | .version = LIBAVUTIL_VERSION_INT, |
| 687 | }; | 688 | }; |