changeset 10001:3a6ae4199f67

fix
author michael
date Sun, 27 Apr 2003 09:45:38 +0000
parents 6fbe9b7176d7
children b2b070bf934e
files TOOLS/mwallp/jpeg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/mwallp/jpeg.c	Sat Apr 26 22:52:46 2003 +0000
+++ b/TOOLS/mwallp/jpeg.c	Sun Apr 27 09:45:38 2003 +0000
@@ -134,8 +134,8 @@
  jpeg_finish_decompress(&cinfo);
  jpeg_destroy_decompress(&cinfo);
 
- swsContext= sws_getContextFromCmdLine(width,height, in_fmt, 
-    				      dwidth,dheight, IMGFMT_BGR|dbpp);
+ swsContext= sws_getContext(width,height, in_fmt, 
+		            dwidth,dheight, IMGFMT_BGR|dbpp, SWS_BICUBIC, NULL, NULL);
 
  sws_scale(swsContext,&img,&row_stride,0,height,&dbuffer, &dstride);