From 54df7e4a3e18fd212bae3bdf665cd0455f031eb6 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 18 Sep 2004 00:08:17 +0000 Subject: passing an array or double precission parameters for the scaling function, instead of missusing a few bits of the flags fixing the naming of the scaling functions a little git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13374 b3059339-0415-0410-9bf9-f77b7e298cf2 --- TOOLS/mwallp/jpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TOOLS') diff --git a/TOOLS/mwallp/jpeg.c b/TOOLS/mwallp/jpeg.c index 8ccfd6aa3e..7a3b678434 100644 --- a/TOOLS/mwallp/jpeg.c +++ b/TOOLS/mwallp/jpeg.c @@ -135,7 +135,7 @@ int decode_jpeg(void* data,int len,char* dbuffer,int dwidth,int dheight, int dst jpeg_destroy_decompress(&cinfo); swsContext= sws_getContext(width,height, in_fmt, - dwidth,dheight, IMGFMT_BGR|dbpp, SWS_BICUBIC, NULL, NULL); + dwidth,dheight, IMGFMT_BGR|dbpp, SWS_BICUBIC, NULL, NULL, NULL); sws_scale(swsContext,&img,&row_stride,0,height,&dbuffer, &dstride); -- cgit v1.2.3