Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-02 02:05:09 +0300
committerJames Almer <jamrial@gmail.com>2017-11-02 02:05:09 +0300
commite621b1ca646a2f268797adc3194b694a852548d2 (patch)
tree3c9c029dd56f3abc6e7c28ec55566b5c65a7ef2c /libavutil/file_open.c
parent3524c92950832705210e50eeafad002fe2d58be5 (diff)
parent97cfe1d8bd1968143e2ba9aa46ebe9504a835e24 (diff)
Merge commit '97cfe1d8bd1968143e2ba9aa46ebe9504a835e24'
* commit '97cfe1d8bd1968143e2ba9aa46ebe9504a835e24': Convert all AVClass struct declarations to designated initializers. Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/file_open.c')
-rw-r--r--libavutil/file_open.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libavutil/file_open.c b/libavutil/file_open.c
index 34070d933b..258bb3074e 100644
--- a/libavutil/file_open.c
+++ b/libavutil/file_open.c
@@ -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)