[MPlayer-cvslog] r31959 - trunk/spudec.c
diego
subversion at mplayerhq.hu
Fri Aug 13 13:08:30 CEST 2010
Author: diego
Date: Fri Aug 13 13:08:30 2010
New Revision: 31959
Log:
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
Modified:
trunk/spudec.c
Modified: trunk/spudec.c
==============================================================================
--- trunk/spudec.c Wed Aug 11 22:59:03 2010 (r31958)
+++ trunk/spudec.c Fri Aug 13 13:08:30 2010 (r31959)
@@ -852,8 +852,8 @@ static void scale_image(int x, int y, sc
}
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;
More information about the MPlayer-cvslog
mailing list