diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-18 00:08:17 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-18 00:08:17 +0000 |
commit | 54df7e4a3e18fd212bae3bdf665cd0455f031eb6 (patch) | |
tree | 43d1dfd83eaa1c4472be09f234377cf2af6fc422 /spudec.c | |
parent | 5e71ad8c1ee1248b32924aecc0b4bce42265e3b8 (diff) | |
download | mpv-54df7e4a3e18fd212bae3bdf665cd0455f031eb6.tar.bz2 mpv-54df7e4a3e18fd212bae3bdf665cd0455f031eb6.tar.xz |
passing an array or double precission parameters for the scaling function, instead of missusing a few bits of the flags
fixing the naming of the scaling functions a little
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13374 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'spudec.c')
-rw-r--r-- | spudec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -752,7 +752,7 @@ void sws_spu_image(unsigned char *d1, unsigned char *d2, int dw, int dh, int ds, oldvar = spu_gaussvar; } - ctx=sws_getContext(sw, sh, IMGFMT_Y800, dw, dh, IMGFMT_Y800, SWS_GAUSS, &filter, NULL); + ctx=sws_getContext(sw, sh, IMGFMT_Y800, dw, dh, IMGFMT_Y800, SWS_GAUSS, &filter, NULL, NULL); sws_scale(ctx,&s1,&ss,0,sh,&d1,&ds); for (i=ss*sh-1; i>=0; i--) if (!s2[i]) s2[i] = 255; //else s2[i] = 1; sws_scale(ctx,&s2,&ss,0,sh,&d2,&ds); |