[FFmpeg-cvslog] r23786 - trunk/libavcodec/vp8dsp.c
darkshikari
subversion
Fri Jun 25 20:48:45 CEST 2010
Author: darkshikari
Date: Fri Jun 25 20:48:45 2010
New Revision: 23786
Log:
Fix c99ism in r23782
Modified:
trunk/libavcodec/vp8dsp.c
Modified: trunk/libavcodec/vp8dsp.c
==============================================================================
--- trunk/libavcodec/vp8dsp.c Fri Jun 25 20:34:03 2010 (r23785)
+++ trunk/libavcodec/vp8dsp.c Fri Jun 25 20:48:45 2010 (r23786)
@@ -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); \
} \
}
More information about the ffmpeg-cvslog
mailing list