OSDN Git Service

Remove ; after while(0) in macros.
authorRamiro Polla <ramiro.polla@gmail.com>
Sat, 12 Sep 2009 20:10:02 +0000 (20:10 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Sat, 12 Sep 2009 20:10:02 +0000 (20:10 +0000)
Originally committed as revision 19828 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/v210dec.c
libavcodec/v210enc.c

index f4b2ebe..0d71b50 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 f1fb8d2..8f20f73 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;