]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/file.c
Merge commit '2f792cb6703b5b12f2e873bee13f33da8aa9940a'
[ffmpeg] / libavutil / file.c
index 7bdf6cde840fb82bd486a1c6dba007028311f6ae..24a86c3f353f46be884a0e929c2cf66f8c3adcf3 100644 (file)
@@ -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,