comparison v210enc.c @ 10169:a48c43551737 libavcodec

Remove ; after while(0) in macros.
author ramiro
date Sat, 12 Sep 2009 20:10:02 +0000
parents 38cfe222e1a4
children 8a4984c5cacc
comparison
equal deleted inserted replaced
10168:6eded00bb689 10169:a48c43551737
70 do { \ 70 do { \
71 val = (*a++ >> 6) | \ 71 val = (*a++ >> 6) | \
72 ((*b++ & 0xFFC0) << 4); \ 72 ((*b++ & 0xFFC0) << 4); \
73 val|= (*c++ & 0xFFC0) << 14; \ 73 val|= (*c++ & 0xFFC0) << 14; \
74 bytestream_put_le32(&p, val); \ 74 bytestream_put_le32(&p, val); \
75 } while (0); 75 } while (0)
76 76
77 for (h = 0; h < avctx->height; h++) { 77 for (h = 0; h < avctx->height; h++) {
78 uint32_t val; 78 uint32_t val;
79 for (w = 0; w < avctx->width - 5; w += 6) { 79 for (w = 0; w < avctx->width - 5; w += 6) {
80 WRITE_PIXELS(u, y, v); 80 WRITE_PIXELS(u, y, v);