Browse Source

lavfi: use designated initializers in avfilter_class

tags/n2.0
Anton Khirnov 12 years ago
parent
commit
556aab8f11
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      libavfilter/avfilter.c

+ 3
- 4
libavfilter/avfilter.c View File

@@ -320,10 +320,9 @@ static const char *filter_name(void *p)
}

static const AVClass avfilter_class = {
"AVFilter",
filter_name,
NULL,
LIBAVUTIL_VERSION_INT,
.class_name = "AVFilter",
.item_name = filter_name,
.version = LIBAVUTIL_VERSION_INT,
};

int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name)


Loading…
Cancel
Save