diff options
author | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-06-25 18:48:45 +0000 |
---|---|---|
committer | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-06-25 18:48:45 +0000 |
commit | cd29c2b5a1a488529fdd76cba161e17549a99a51 (patch) | |
tree | b39467d3159302813a5c8f7624cbc303a5d490f2 /libavcodec/vp8dsp.c | |
parent | 96da2a6967d0361125359811f73fea9aee03d636 (diff) | |
download | ffmpeg-cd29c2b5a1a488529fdd76cba161e17549a99a51.tar.gz |
Fix c99ism in r23782
Originally committed as revision 23786 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp8dsp.c')
-rw-r--r-- | libavcodec/vp8dsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vp8dsp.c b/libavcodec/vp8dsp.c index 4bc1d83916..52817dbf4c 100644 --- a/libavcodec/vp8dsp.c +++ b/libavcodec/vp8dsp.c @@ -252,7 +252,8 @@ static const uint8_t subpel_filters[7][6] = { #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); \ } \ } |