diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-03-05 07:03:44 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-03-05 07:03:44 +0300 |
commit | 56adc69501ec2a9a42b741bace3cb484ca413d81 (patch) | |
tree | 65463413b824ffcb930fb84d3b364aa5dce18fc9 /libswscale | |
parent | e60da588e350f886ce1428bf22b67076fa58cdcd (diff) |
One more (forgotten) fix for fixing sws_flags.
Originally committed as revision 26166 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 1eb8db8e51..95ca40cebf 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -247,7 +247,7 @@ static const char * sws_context_to_name(void * ptr) { #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { - { "sws_flags", "scaler/cpu flags", OFFSET(flags), FF_OPT_TYPE_FLAGS, DEFAULT, INT_MIN, INT_MAX, VE, "sws_flags" }, + { "sws_flags", "scaler/cpu flags", OFFSET(flags), FF_OPT_TYPE_FLAGS, DEFAULT, 0, UINT_MAX, VE, "sws_flags" }, { "fast_bilinear", "fast bilinear", 0, FF_OPT_TYPE_CONST, SWS_FAST_BILINEAR, INT_MIN, INT_MAX, VE, "sws_flags" }, { "bilinear", "bilinear", 0, FF_OPT_TYPE_CONST, SWS_BILINEAR, INT_MIN, INT_MAX, VE, "sws_flags" }, { "bicubic", "bicubic", 0, FF_OPT_TYPE_CONST, SWS_BICUBIC, INT_MIN, INT_MAX, VE, "sws_flags" }, |