You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
Convert all AVClass struct declarations to designated initializers.
This commit is contained in:
@@ -219,7 +219,14 @@ typedef struct ImgUtils {
|
||||
void *log_ctx;
|
||||
} ImgUtils;
|
||||
|
||||
static const AVClass imgutils_class = { "IMGUTILS", av_default_item_name, NULL, LIBAVUTIL_VERSION_INT, offsetof(ImgUtils, log_offset), offsetof(ImgUtils, log_ctx) };
|
||||
static const AVClass imgutils_class = {
|
||||
.class_name = "IMGUTILS",
|
||||
.item_name = av_default_item_name,
|
||||
.option = NULL,
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
.log_level_offset_offset = offsetof(ImgUtils, log_offset),
|
||||
.parent_log_context_offset = offsetof(ImgUtils, log_ctx),
|
||||
};
|
||||
|
||||
int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *log_ctx)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user