Merge commit '97cfe1d8bd1968143e2ba9aa46ebe9504a835e24'
* commit '97cfe1d8bd1968143e2ba9aa46ebe9504a835e24': Convert all AVClass struct declarations to designated initializers. Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user