aboutsummaryrefslogtreecommitdiffhomepage
path: root/TOOLS/mwallp
diff options
context:
space:
mode:
authorGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-18 00:08:17 +0000
committerGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-18 00:08:17 +0000
commit54df7e4a3e18fd212bae3bdf665cd0455f031eb6 (patch)
tree43d1dfd83eaa1c4472be09f234377cf2af6fc422 /TOOLS/mwallp
parent5e71ad8c1ee1248b32924aecc0b4bce42265e3b8 (diff)
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
Diffstat (limited to 'TOOLS/mwallp')
-rw-r--r--TOOLS/mwallp/jpeg.c2
1 files changed, 1 insertions, 1 deletions
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);