summaryrefslogtreecommitdiffstats
path: root/spudec.c
diff options
context:
space:
mode:
Diffstat (limited to 'spudec.c')
-rw-r--r--spudec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/spudec.c b/spudec.c
index 28046444af..5e39846fe6 100644
--- a/spudec.c
+++ b/spudec.c
@@ -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;