Mercurial > mplayer.hg
diff TOOLS/mwallp/jpeg.c @ 13373:6bd869a18d2c
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
author | michael |
---|---|
date | Sat, 18 Sep 2004 00:08:17 +0000 |
parents | 3a6ae4199f67 |
children |
line wrap: on
line diff
--- a/TOOLS/mwallp/jpeg.c Fri Sep 17 21:15:52 2004 +0000 +++ b/TOOLS/mwallp/jpeg.c Sat Sep 18 00:08:17 2004 +0000 @@ -135,7 +135,7 @@ 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);