swscale-test: always use bilinear scaler to get output for SSD
authorRamiro Polla <ramiro.polla@gmail.com>
Thu, 16 Sep 2010 00:41:08 +0000 (00:41 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Thu, 16 Sep 2010 00:41:08 +0000 (00:41 +0000)
Originally committed as revision 32256 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale-test.c

index 1ea240d387e059cb6c78398245fc548e1b9ac143..3562e9827d0f36bd180a6849f0682f5d1866af83 100644 (file)
@@ -194,7 +194,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h,
                 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,