summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-27 09:45:38 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-27 09:45:38 +0000
commit38fba566e5db39a0d7dc27e21faabfb9f41f6b6c (patch)
treec5d4cab5a3dfeddd52aee472bc0366100a5281ac /TOOLS
parent456551fc0828fe0bc5c2c9f03d84f5be70815b2e (diff)
downloadmpv-38fba566e5db39a0d7dc27e21faabfb9f41f6b6c.tar.bz2
mpv-38fba566e5db39a0d7dc27e21faabfb9f41f6b6c.tar.xz
fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10002 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/mwallp/jpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/TOOLS/mwallp/jpeg.c b/TOOLS/mwallp/jpeg.c
index 0679418e9f..8ccfd6aa3e 100644
--- a/TOOLS/mwallp/jpeg.c
+++ b/TOOLS/mwallp/jpeg.c
@@ -134,8 +134,8 @@ int decode_jpeg(void* data,int len,char* dbuffer,int dwidth,int dheight, int dst
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);