spudec.c: mark a parameter const

Mark constant sws_spu_image() parameter as const, fixes the warning:
spudec.c:874: warning: passing argument 2 of 'sws_scale' from incompatible pointer type

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31959 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-08-13 11:08:30 +00:00 committed by Uoti Urpala
parent e2d5a13f76
commit 920ee4dc53
1 changed files with 2 additions and 2 deletions

View File

@ -852,8 +852,8 @@ static void scale_image(int x, int y, scale_pixel* table_x, scale_pixel* table_y
}
static void sws_spu_image(unsigned char *d1, unsigned char *d2, int dw, int dh,
int ds, unsigned char *s1, unsigned char *s2, int sw,
int sh, int ss)
int ds, const unsigned char* s1, unsigned char* s2,
int sw, int sh, int ss)
{
struct SwsContext *ctx;
static SwsFilter filter;