diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-08-01 14:35:01 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-08-02 19:19:02 +0200 |
commit | b5a138652ff8a5b987d3e1191e67fd9f6575527e (patch) | |
tree | 58765a7557141d8897905e3324ee2b71c7625534 /libswscale | |
parent | 0d6fa3977b016f1b72b0b24b8834ff9222498548 (diff) | |
download | ffmpeg-b5a138652ff8a5b987d3e1191e67fd9f6575527e.tar.gz |
Give less generic names to global library option arrays
Diffstat (limited to 'libswscale')
-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 daf013c741..e7765d6ba9 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" }, @@ -66,7 +66,7 @@ static const AVOption options[] = { { NULL } }; -const AVClass sws_context_class = { "SWScaler", sws_context_to_name, options }; +const AVClass sws_context_class = { "SWScaler", sws_context_to_name, swscale_options }; const AVClass *sws_get_class(void) { |