# HG changeset patch # User michael # Date 1051436738 0 # Node ID 3a6ae4199f6700136c003b7d892e1fe8c3cdac01 # Parent 6fbe9b7176d7937ea23dd63f387203c254e11310 fix diff -r 6fbe9b7176d7 -r 3a6ae4199f67 TOOLS/mwallp/jpeg.c --- 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);