diff options
Diffstat (limited to 'libswscale/options.c')
-rw-r--r-- | libswscale/options.c | 4 |
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, }; |