From 08bebeb1bed3feee99d30cd6066d3466291dc8ed Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 19 Jan 2024 13:33:28 +0100 Subject: 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. --- libavformat/http.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/http.c') diff --git a/libavformat/http.c b/libavformat/http.c index 8113043ffb..c0fe7c36d9 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1986,6 +1986,7 @@ static int http_get_short_seek(URLContext *h) #define HTTP_CLASS(flavor) \ static const AVClass flavor ## _context_class = { \ .class_name = # flavor, \ + .item_name = av_default_item_name, \ .option = options, \ .version = LIBAVUTIL_VERSION_INT, \ } -- cgit v1.2.3