[Mplayer-cvslog] CVS: main/TOOLS/mwallp jpeg.c,1.2,1.3

Michael Niedermayer CVS michael at mplayerhq.hu
Sun Apr 27 11:46:04 CEST 2003


Update of /cvsroot/mplayer/main/TOOLS/mwallp
In directory mail:/var/tmp.root/cvs-serv28031

Modified Files:
	jpeg.c 
Log Message:
fix


Index: jpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/mwallp/jpeg.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- jpeg.c	24 Feb 2003 22:46:48 -0000	1.2
+++ jpeg.c	27 Apr 2003 09:45:38 -0000	1.3
@@ -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);
  



More information about the MPlayer-cvslog mailing list