History

Give less generic names to global library option arrays

Diego Biurrun committed 13 years ago

Commit b5a13861 parent 0d6fa399 files · +14 −14Browse files

Showing the changes to libavfilter/avfilter.c (1 of 9 files). Show all

Unified · Split

libavfilter/avfilter.c+2−2
@@ -354,7 +354,7 @@ static const AVClass *filter_child_class_next(const AVClass *prev) · 353 unmodified lines
354 354
355#define OFFSET(x) offsetof(AVFilterContext, x)355#define OFFSET(x) offsetof(AVFilterContext, x)
356#define FLAGS AV_OPT_FLAG_VIDEO_PARAM356#define FLAGS AV_OPT_FLAG_VIDEO_PARAM
357static const AVOption options[] = {357static const AVOption avfilter_options[] = {
358 { "thread_type", "Allowed thread types", OFFSET(thread_type), AV_OPT_TYPE_FLAGS,358 { "thread_type", "Allowed thread types", OFFSET(thread_type), AV_OPT_TYPE_FLAGS,
359 { .i64 = AVFILTER_THREAD_SLICE }, 0, INT_MAX, FLAGS, "thread_type" },359 { .i64 = AVFILTER_THREAD_SLICE }, 0, INT_MAX, FLAGS, "thread_type" },
360 { "slice", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AVFILTER_THREAD_SLICE }, .unit = "thread_type" },360 { "slice", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = AVFILTER_THREAD_SLICE }, .unit = "thread_type" },
@@ -367,7 +367,7 @@ static const AVClass avfilter_class = { · 6 unmodified lines
367 .version = LIBAVUTIL_VERSION_INT,367 .version = LIBAVUTIL_VERSION_INT,
368 .child_next = filter_child_next,368 .child_next = filter_child_next,
369 .child_class_next = filter_child_class_next,369 .child_class_next = filter_child_class_next,
370 .option = options,370 .option = avfilter_options,
371};371};
372 372
373static int default_execute(AVFilterContext *ctx, action_func *func, void *arg,373static int default_execute(AVFilterContext *ctx, action_func *func, void *arg,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t