1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-02 20:35:37 +02:00

lavfi: use designated initializers in avfilter_class

This commit is contained in:
Anton Khirnov 2013-02-25 12:09:01 +01:00
parent aa3c779984
commit 556aab8f11

View File

@ -320,10 +320,9 @@ static const char *filter_name(void *p)
} }
static const AVClass avfilter_class = { static const AVClass avfilter_class = {
"AVFilter", .class_name = "AVFilter",
filter_name, .item_name = filter_name,
NULL, .version = LIBAVUTIL_VERSION_INT,
LIBAVUTIL_VERSION_INT,
}; };
int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name) int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name)