summaryrefslogtreecommitdiff
path: root/libswscale/options.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-03 09:16:36 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-03 09:16:36 +0200
commita8e963835a43e64311751b01f44707bd0e360d46 (patch)
tree3b21d37293b3765a70ae195dc61fd6984e3b69d9 /libswscale/options.c
parent8e970a58614fe15565d5849c933f17b9ec138647 (diff)
parentb5a138652ff8a5b987d3e1191e67fd9f6575527e (diff)
Merge commit 'b5a138652ff8a5b987d3e1191e67fd9f6575527e'
* commit 'b5a138652ff8a5b987d3e1191e67fd9f6575527e': Give less generic names to global library option arrays Conflicts: libavcodec/options_table.h libavfilter/avfilter.c libavformat/options_table.h libswscale/options.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/options.c')
-rw-r--r--libswscale/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/options.c b/libswscale/options.c
index 173993c01c..81d8c28b08 100644
--- a/libswscale/options.c
+++ b/libswscale/options.c
@@ -33,7 +33,7 @@ static const char *sws_context_to_name(void *ptr)
#define DEFAULT 0
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
-static const AVOption options[] = {
+static const AVOption swscale_options[] = {
{ "sws_flags", "scaler flags", OFFSET(flags), AV_OPT_TYPE_FLAGS, { .i64 = DEFAULT }, 0, UINT_MAX, VE, "sws_flags" },
{ "fast_bilinear", "fast bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_FAST_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },
{ "bilinear", "bilinear", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BILINEAR }, INT_MIN, INT_MAX, VE, "sws_flags" },
@@ -75,7 +75,7 @@ static const AVOption options[] = {
const AVClass sws_context_class = {
.class_name = "SWScaler",
.item_name = sws_context_to_name,
- .option = options,
+ .option = swscale_options,
.category = AV_CLASS_CATEGORY_SWSCALER,
.version = LIBAVUTIL_VERSION_INT,
};