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 libavformat/codec2.c (1 of 363 files). Show all
Unified · Split
| @@ -279,6 +279,7 @@ static const AVOption codec2raw_options[] = { · 278 unmodified lines | ||
| 279 | 279 | |
| 280 | 280 | static const AVClass codec2_demux_class = { |
| 281 | 281 | .class_name = "codec2 demuxer", |
| 282 | + .item_name = av_default_item_name, | |
| 282 | 283 | .option = codec2_options, |
| 283 | 284 | .version = LIBAVUTIL_VERSION_INT, |
| 284 | 285 | .category = AV_CLASS_CATEGORY_DEMUXER, |
| @@ -286,6 +287,7 @@ static const AVClass codec2_demux_class = { · 1 unmodified line | ||
| 286 | 287 | |
| 287 | 288 | static const AVClass codec2raw_demux_class = { |
| 288 | 289 | .class_name = "codec2raw demuxer", |
| 290 | + .item_name = av_default_item_name, | |
| 289 | 291 | .option = codec2raw_options, |
| 290 | 292 | .version = LIBAVUTIL_VERSION_INT, |
| 291 | 293 | .category = AV_CLASS_CATEGORY_DEMUXER, |