summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-24 22:46:48 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-24 22:46:48 +0000
commita5f75b83358c70c4ed632ff9c149ca515f5c3b40 (patch)
tree07f426d991c5e2414b629126733af10b1466a780 /TOOLS
parent546b584627d830a7bb28e1b57a8841ae22e32cdc (diff)
downloadmpv-a5f75b83358c70c4ed632ff9c149ca515f5c3b40.tar.bz2
mpv-a5f75b83358c70c4ed632ff9c149ca515f5c3b40.tar.xz
forgot ...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9501 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/mwallp/jpeg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/TOOLS/mwallp/jpeg.c b/TOOLS/mwallp/jpeg.c
index 693c00c845..0679418e9f 100644
--- a/TOOLS/mwallp/jpeg.c
+++ b/TOOLS/mwallp/jpeg.c
@@ -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 @@ int decode_jpeg(void* data,int len,char* dbuffer,int dwidth,int dheight, int dst
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);