[FFmpeg-cvslog] r19828 - in trunk/libavcodec: v210dec.c v210enc.c

ramiro subversion
Sat Sep 12 22:10:02 CEST 2009


Author: ramiro
Date: Sat Sep 12 22:10:02 2009
New Revision: 19828

Log:
Remove ; after while(0) in macros.

Modified:
   trunk/libavcodec/v210dec.c
   trunk/libavcodec/v210enc.c

Modified: trunk/libavcodec/v210dec.c
==============================================================================
--- trunk/libavcodec/v210dec.c	Sat Sep 12 19:59:19 2009	(r19827)
+++ trunk/libavcodec/v210dec.c	Sat Sep 12 22:10:02 2009	(r19828)
@@ -74,7 +74,7 @@ static int decode_frame(AVCodecContext *
         *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;

Modified: trunk/libavcodec/v210enc.c
==============================================================================
--- trunk/libavcodec/v210enc.c	Sat Sep 12 19:59:19 2009	(r19827)
+++ trunk/libavcodec/v210enc.c	Sat Sep 12 22:10:02 2009	(r19828)
@@ -72,7 +72,7 @@ static int encode_frame(AVCodecContext *
               ((*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;



More information about the ffmpeg-cvslog mailing list