From cd29c2b5a1a488529fdd76cba161e17549a99a51 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Fri, 25 Jun 2010 18:48:45 +0000 Subject: Fix c99ism in r23782 Originally committed as revision 23786 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vp8dsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/vp8dsp.c') 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); \ } \ } -- cgit v1.2.3