changeset 10169:a48c43551737 libavcodec

Remove ; after while(0) in macros.
author ramiro
date Sat, 12 Sep 2009 20:10:02 +0000
parents 6eded00bb689
children e1bb4cf6e659
files v210dec.c v210enc.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/v210dec.c	Sat Sep 12 17:59:19 2009 +0000
+++ b/v210dec.c	Sat Sep 12 20:10:02 2009 +0000
@@ -74,7 +74,7 @@
         *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;
--- a/v210enc.c	Sat Sep 12 17:59:19 2009 +0000
+++ b/v210enc.c	Sat Sep 12 20:10:02 2009 +0000
@@ -72,7 +72,7 @@
               ((*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;