# HG changeset patch # User ramiro # Date 1284597668 0 # Node ID 28fcee4c83ad4951dde1ad263175b0dda4e94f52 # Parent d15f1bca9ae0b23d5cb9e10bda9f726ef22e9516 swscale-test: always use bilinear scaler to get output for SSD diff -r d15f1bca9ae0 -r 28fcee4c83ad libswscale/swscale-test.c --- a/libswscale/swscale-test.c Wed Sep 15 19:52:37 2010 +0000 +++ b/libswscale/swscale-test.c Thu Sep 16 00:41:08 2010 +0000 @@ -194,7 +194,7 @@ goto end; } } - outContext= sws_getContext(dstW, dstH, dstFormat, w, h, PIX_FMT_YUVA420P, flags, NULL, NULL, NULL); + outContext= sws_getContext(dstW, dstH, dstFormat, w, h, PIX_FMT_YUVA420P, SWS_BILINEAR, NULL, NULL, NULL); if (!outContext) { fprintf(stderr, "Failed to get %s ---> %s\n", av_pix_fmt_descriptors[dstFormat].name,