avfilter/vf_scale: dont duplicate default.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Oct 2013 10:33:32 +0000 (12:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Oct 2013 10:39:47 +0000 (12:39 +0200)
use the defaults set by swscale

Suggested-by: stefano
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_scale.c

index f808fcc..703b45b 100644 (file)
@@ -140,7 +140,7 @@ static av_cold int init_dict(AVFilterContext *ctx, AVDictionary **opts)
     av_log(ctx, AV_LOG_VERBOSE, "w:%s h:%s flags:'%s' interl:%d\n",
            scale->w_expr, scale->h_expr, (char *)av_x_if_null(scale->flags_str, ""), scale->interlaced);
 
-    scale->flags = SWS_BICUBIC;
+    scale->flags = 0;
 
     if (scale->flags_str) {
         const AVClass *class = sws_get_class();