Mercurial > libavcodec.hg
comparison v210dec.c @ 10169:a48c43551737 libavcodec
Remove ; after while(0) in macros.
author | ramiro |
---|---|
date | Sat, 12 Sep 2009 20:10:02 +0000 |
parents | 4f974b8d8851 |
children | 2bb3882075b6 |
comparison
equal
deleted
inserted
replaced
10168:6eded00bb689 | 10169:a48c43551737 |
---|---|
72 do { \ | 72 do { \ |
73 val = le2me_32(*src++); \ | 73 val = le2me_32(*src++); \ |
74 *a++ = val << 6; \ | 74 *a++ = val << 6; \ |
75 *b++ = (val >> 4) & 0xFFC0; \ | 75 *b++ = (val >> 4) & 0xFFC0; \ |
76 *c++ = (val >> 14) & 0xFFC0; \ | 76 *c++ = (val >> 14) & 0xFFC0; \ |
77 } while (0); | 77 } while (0) |
78 | 78 |
79 for (h = 0; h < avctx->height; h++) { | 79 for (h = 0; h < avctx->height; h++) { |
80 const uint32_t *src = (const uint32_t*)psrc; | 80 const uint32_t *src = (const uint32_t*)psrc; |
81 uint32_t val; | 81 uint32_t val; |
82 for (w = 0; w < avctx->width - 5; w += 6) { | 82 for (w = 0; w < avctx->width - 5; w += 6) { |