comparison vp8dsp.c @ 11954:4aae15516d2c libavcodec

Fix c99ism in r23782
author darkshikari
date Fri, 25 Jun 2010 18:48:45 +0000
parents 56aba5a9761c
children 496d1300204d
comparison
equal deleted inserted replaced
11953:65470eea7561 11954:4aae15516d2c
250 { 0, 1, 12, 123, 6, 0 }, 250 { 0, 1, 12, 123, 6, 0 },
251 }; 251 };
252 252
253 #define PUT_PIXELS(WIDTH) \ 253 #define PUT_PIXELS(WIDTH) \
254 static void put_vp8_pixels ## WIDTH ##_c(uint8_t *dst, int dststride, uint8_t *src, int srcstride, int h, int x, int y) { \ 254 static void put_vp8_pixels ## WIDTH ##_c(uint8_t *dst, int dststride, uint8_t *src, int srcstride, int h, int x, int y) { \
255 for (int y = 0; y < h; y++, dst+= dststride, src+= srcstride) { \ 255 int y; \
256 for (y = 0; y < h; y++, dst+= dststride, src+= srcstride) { \
256 memcpy(dst, src, WIDTH); \ 257 memcpy(dst, src, WIDTH); \
257 } \ 258 } \
258 } 259 }
259 260
260 PUT_PIXELS(16) 261 PUT_PIXELS(16)