Mercurial > libavcodec.hg
diff vp8dsp.c @ 11954:4aae15516d2c libavcodec
Fix c99ism in r23782
author | darkshikari |
---|---|
date | Fri, 25 Jun 2010 18:48:45 +0000 |
parents | 56aba5a9761c |
children | 496d1300204d |
line wrap: on
line diff
--- a/vp8dsp.c Fri Jun 25 18:34:03 2010 +0000 +++ b/vp8dsp.c Fri Jun 25 18:48:45 2010 +0000 @@ -252,7 +252,8 @@ #define PUT_PIXELS(WIDTH) \ static void put_vp8_pixels ## WIDTH ##_c(uint8_t *dst, int dststride, uint8_t *src, int srcstride, int h, int x, int y) { \ - for (int y = 0; y < h; y++, dst+= dststride, src+= srcstride) { \ + int y; \ + for (y = 0; y < h; y++, dst+= dststride, src+= srcstride) { \ memcpy(dst, src, WIDTH); \ } \ }