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

Michael Niedermayer CVS michael at mplayerhq.hu
Mon Feb 24 23:47:18 CET 2003


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

Modified Files:
	jpeg.c 
Log Message:
forgot ...


Index: jpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/mwallp/jpeg.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jpeg.c	17 Jun 2002 14:13:10 -0000	1.1
+++ jpeg.c	24 Feb 2003 22:46:48 -0000	1.2
@@ -16,7 +16,7 @@
 #include "swscale.h"
 #include "rgb2rgb.h"
 
-static SwsContext *swsContext=NULL;
+static struct SwsContext *swsContext=NULL;
 
 typedef struct
 {
@@ -134,12 +134,12 @@
  jpeg_finish_decompress(&cinfo);
  jpeg_destroy_decompress(&cinfo);
 
- swsContext= getSwsContextFromCmdLine(width,height, in_fmt, 
+ swsContext= sws_getContextFromCmdLine(width,height, in_fmt, 
     				      dwidth,dheight, IMGFMT_BGR|dbpp);
 
- swsContext->swScale(swsContext,&img,&row_stride,0,height,&dbuffer, &dstride);
+ sws_scale(swsContext,&img,&row_stride,0,height,&dbuffer, &dstride);
  
- freeSwsContext(swsContext);
+ sws_freeContext(swsContext);
 
  free(img);
 



More information about the MPlayer-cvslog mailing list