From 360181422e5b7c11fcab5294a0aa398a5d934a85 Mon Sep 17 00:00:00 2001 From: stefano Date: Wed, 29 Sep 2010 22:06:40 +0000 Subject: [PATCH] Set the default value of param0 and param1 to SWS_PARAM_DEFAULT. git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@32414 b3059339-0415-0410-9bf9-f77b7e298cf2 --- options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options.c b/options.c index e80a075..5817d3f 100644 --- a/options.c +++ b/options.c @@ -66,8 +66,8 @@ static const AVOption options[] = { { "dst_format", "destination format", OFFSET(dstFormat), FF_OPT_TYPE_INT, DEFAULT, 0, PIX_FMT_NB-1, VE }, { "src_range" , "source range" , OFFSET(srcRange) , FF_OPT_TYPE_INT, DEFAULT, 0, 1, VE }, { "dst_range" , "destination range" , OFFSET(dstRange) , FF_OPT_TYPE_INT, DEFAULT, 0, 1, VE }, - { "param0" , "scaler param 0" , OFFSET(param[0]) , FF_OPT_TYPE_DOUBLE, DEFAULT, INT_MIN, INT_MAX, VE }, - { "param1" , "scaler param 1" , OFFSET(param[1]) , FF_OPT_TYPE_DOUBLE, DEFAULT, INT_MIN, INT_MAX, VE }, + { "param0" , "scaler param 0" , OFFSET(param[0]) , FF_OPT_TYPE_DOUBLE, SWS_PARAM_DEFAULT, INT_MIN, INT_MAX, VE }, + { "param1" , "scaler param 1" , OFFSET(param[1]) , FF_OPT_TYPE_DOUBLE, SWS_PARAM_DEFAULT, INT_MIN, INT_MAX, VE }, { NULL } }; -- 2.11.4.GIT