summaryrefslogtreecommitdiff
path: root/libswscale/options.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-29 22:06:40 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-29 22:06:40 +0000
commite60c906a82b8982c23d0a71ef31b2aad5626fd6e (patch)
treecb86a4d598aaaeaef2601e7448cfd930f84b2e7a /libswscale/options.c
parent6d21d67b38af75cc4fe901a92f3a0ae114ed1e33 (diff)
downloadffmpeg-e60c906a82b8982c23d0a71ef31b2aad5626fd6e.tar.gz
Set the default value of param0 and param1 to SWS_PARAM_DEFAULT.
Originally committed as revision 32414 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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 e80a075811..5817d3faae 100644
--- a/libswscale/options.c
+++ b/libswscale/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 }
};