[SCM] libav/experimental: Set the default value of param0 and param1 to SWS_PARAM_DEFAULT.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:16:37 UTC 2013


The following commit has been merged in the experimental branch:
commit e60c906a82b8982c23d0a71ef31b2aad5626fd6e
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Wed Sep 29 22:06:40 2010 +0000

    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

diff --git a/libswscale/options.c b/libswscale/options.c
index e80a075..5817d3f 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 }
 };

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list