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/cache.c (1 of 363 files). Show all
Unified · Split
| @@ -327,6 +327,7 @@ static const AVOption options[] = { · 326 unmodified lines | |||
| 327 | 327 | ||
| 328 | static const AVClass cache_context_class = { | 328 | static const AVClass cache_context_class = { |
| 329 | .class_name = "cache", | 329 | .class_name = "cache", |
| 330 | .item_name = av_default_item_name, | ||
| 330 | .option = options, | 331 | .option = options, |
| 331 | .version = LIBAVUTIL_VERSION_INT, | 332 | .version = LIBAVUTIL_VERSION_INT, |
| 332 | }; | 333 | }; |