]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/file_open.c
Merge commit '2f792cb6703b5b12f2e873bee13f33da8aa9940a'
[ffmpeg] / libavutil / file_open.c
index 34070d933ba4b53f6c2179fd4925805ef10a3751..258bb3074e304ed006d88dca45448507e6813696 100644 (file)
@@ -99,8 +99,12 @@ typedef struct FileLogContext {
 } FileLogContext;
 
 static const AVClass file_log_ctx_class = {
-    "TEMPFILE", av_default_item_name, NULL, LIBAVUTIL_VERSION_INT,
-    offsetof(FileLogContext, log_offset), offsetof(FileLogContext, log_ctx)
+    .class_name                = "TEMPFILE",
+    .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 avpriv_tempfile(const char *prefix, char **filename, int log_offset, void *log_ctx)