diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-09-12 20:10:02 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-09-12 20:10:02 +0000 |
commit | e20b196da1b7342689775bc46dc860a8b1775480 (patch) | |
tree | 241beb715834f1398f5d05e5a5b63bfa4ffe5af4 | |
parent | 0345f36bbdd63f61dae07cbf9e307f8746b1227e (diff) | |
download | ffmpeg-e20b196da1b7342689775bc46dc860a8b1775480.tar.gz |
Remove ; after while(0) in macros.
Originally committed as revision 19828 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/v210dec.c | 2 | ||||
-rw-r--r-- | libavcodec/v210enc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index f4b2ebe67e..0d71b5004f 100644 --- a/libavcodec/v210dec.c +++ b/libavcodec/v210dec.c @@ -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; diff --git a/libavcodec/v210enc.c b/libavcodec/v210enc.c index f1fb8d2884..8f20f73d45 100644 --- a/libavcodec/v210enc.c +++ b/libavcodec/v210enc.c @@ -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; |