X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Ffile.c;h=24a86c3f353f46be884a0e929c2cf66f8c3adcf3;hb=580732e3a5d789adaefb1e6ca16749f47a1223b2;hp=7bdf6cde840fb82bd486a1c6dba007028311f6ae;hpb=bc98788dd262aacf017fb27d3e1de03f9009839f;p=ffmpeg diff --git a/libavutil/file.c b/libavutil/file.c index 7bdf6cde840..24a86c3f353 100644 --- a/libavutil/file.c +++ b/libavutil/file.c @@ -42,8 +42,12 @@ typedef struct FileLogContext { } FileLogContext; static const AVClass file_log_ctx_class = { - "FILE", av_default_item_name, NULL, LIBAVUTIL_VERSION_INT, - offsetof(FileLogContext, log_offset), offsetof(FileLogContext, log_ctx) + .class_name = "FILE", + .item_name = av_default_item_name, + .option = NULL, + .version = LIBAVUTIL_VERSION_INT, + .log_level_offset_offset = offsetof(FileLogContext, log_offset), + .parent_log_context_offset = offsetof(FileLogContext, log_ctx), }; int av_file_map(const char *filename, uint8_t **bufptr, size_t *size,