changeset 29505:fa1ad0b67187

swscale-example: Use SWS_BILINEAR instead of hardcoded value.
author ramiro
date Sun, 23 Aug 2009 20:29:49 +0000
parents 940fb22fd9dd
children b7d639772e17
files libswscale/swscale-example.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale-example.c	Sun Aug 23 15:32:42 2009 +0000
+++ b/libswscale/swscale-example.c	Sun Aug 23 20:29:49 2009 +0000
@@ -225,7 +225,7 @@
     struct SwsContext *sws;
     AVLFG rand;
 
-    sws= sws_getContext(W/12, H/12, PIX_FMT_RGB32, W, H, PIX_FMT_YUVA420P, 2, NULL, NULL, NULL);
+    sws= sws_getContext(W/12, H/12, PIX_FMT_RGB32, W, H, PIX_FMT_YUVA420P, SWS_BILINEAR, NULL, NULL, NULL);
 
     av_lfg_init(&rand, 1);