You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
Give less generic names to global library option arrays
This commit is contained in:
@@ -354,7 +354,7 @@ static const AVClass *filter_child_class_next(const AVClass *prev)
|
||||
|
||||
#define OFFSET(x) offsetof(AVFilterContext, x)
|
||||
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
|
||||
static const AVOption options[] = {
|
||||
static const AVOption avfilter_options[] = {
|
||||
{ "thread_type", "Allowed thread types", OFFSET(thread_type), AV_OPT_TYPE_FLAGS,
|
||||
{ .i64 = AVFILTER_THREAD_SLICE }, 0, INT_MAX, FLAGS, "thread_type" },
|
||||
{ "slice", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AVFILTER_THREAD_SLICE }, .unit = "thread_type" },
|
||||
@@ -367,7 +367,7 @@ static const AVClass avfilter_class = {
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
.child_next = filter_child_next,
|
||||
.child_class_next = filter_child_class_next,
|
||||
.option = options,
|
||||
.option = avfilter_options,
|
||||
};
|
||||
|
||||
static int default_execute(AVFilterContext *ctx, action_func *func, void *arg,
|
||||
|
||||
Reference in New Issue
Block a user