diff --git a/libavcodec/vp8dsp.c b/libavcodec/vp8dsp.c index 52817dbf4c..ada2c9d67d 100644 --- a/libavcodec/vp8dsp.c +++ b/libavcodec/vp8dsp.c @@ -252,8 +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) { \ - int y; \ - for (y = 0; y < h; y++, dst+= dststride, src+= srcstride) { \ + int i; \ + for (i = 0; i < h; i++, dst+= dststride, src+= srcstride) { \ memcpy(dst, src, WIDTH); \ } \ }