]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove ; after while(0) in macros.
authorramiro <ramiro@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 12 Sep 2009 20:10:02 +0000 (20:10 +0000)
committerramiro <ramiro@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 12 Sep 2009 20:10:02 +0000 (20:10 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19828 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/v210dec.c
libavcodec/v210enc.c

index f4b2ebe67ed87de27fe6f4e175fecd5bb112a6c2..0d71b5004fae590ad5ef24d6cc1abbb3f8af1d94 100644 (file)
@@ -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;
index f1fb8d288483e8b6b3edddc41197336d1dcb6775..8f20f73d45ebcd17f196b061d0eb50b3c63a61bc 100644 (file)
@@ -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;