Mercurial > libavcodec.hg
changeset 11954:4aae15516d2c libavcodec
Fix c99ism in r23782
author | darkshikari |
---|---|
date | Fri, 25 Jun 2010 18:48:45 +0000 |
parents | 65470eea7561 |
children | d94cbfa7a170 |
files | vp8dsp.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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); \ } \ }