changeset 9500:4930b82dbf02

forgot ...
author michael
date Mon, 24 Feb 2003 22:46:48 +0000
parents bc5b87370cd1
children d64c56172220
files TOOLS/mwallp/jpeg.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/mwallp/jpeg.c	Mon Feb 24 00:12:30 2003 +0000
+++ b/TOOLS/mwallp/jpeg.c	Mon Feb 24 22:46:48 2003 +0000
@@ -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);