diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-08-13 11:08:30 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:15:48 +0200 |
commit | 920ee4dc5303b4a3ff42d94ec9e27c513bf1c6b0 (patch) | |
tree | 8e1a3b4560313625fce89eef6269d27bd0ece054 /spudec.c | |
parent | e2d5a13f76efd3234d2cfab422c12f6ada5ac201 (diff) | |
download | mpv-920ee4dc5303b4a3ff42d94ec9e27c513bf1c6b0.tar.bz2 mpv-920ee4dc5303b4a3ff42d94ec9e27c513bf1c6b0.tar.xz |
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
Diffstat (limited to 'spudec.c')
-rw-r--r-- | spudec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |