Commit 05eba234 authored by ramiro's avatar ramiro

Remove ; after while(0) in macros.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19828 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 19a98b08
......@@ -74,7 +74,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
*a++ = val << 6; \
*b++ = (val >> 4) & 0xFFC0; \
*c++ = (val >> 14) & 0xFFC0; \
} while (0);
} while (0)
for (h = 0; h < avctx->height; h++) {
const uint32_t *src = (const uint32_t*)psrc;
......
......@@ -72,7 +72,7 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
((*b++ & 0xFFC0) << 4); \
val|= (*c++ & 0xFFC0) << 14; \
bytestream_put_le32(&p, val); \
} while (0);
} while (0)
for (h = 0; h < avctx->height; h++) {
uint32_t val;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment