[FFmpeg-cvslog] cleanup: remove two extraneous semicolons.

Clément Bœsch git at videolan.org
Mon Dec 12 17:53:42 CET 2011


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Mon Dec 12 01:56:52 2011 +0100| [66160bdb0140586c44e494336c3c05f5928a6367] | committer: Clément Bœsch

cleanup: remove two extraneous semicolons.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=66160bdb0140586c44e494336c3c05f5928a6367
---

 libavcodec/libx264.c    |    2 +-
 libavcodec/proresdec2.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 38351e5..499c953 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -245,7 +245,7 @@ static av_cold int X264_close(AVCodecContext *avctx)
                         "bad value for '%s': '%s'\n", opt, param);            \
             return -1;                                                        \
         }                                                                     \
-    } while (0);
+    } while (0)
 
 static int convert_pix_fmt(enum PixelFormat pix_fmt)
 {
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c
index a96af4f..7f940d2 100644
--- a/libavcodec/proresdec2.c
+++ b/libavcodec/proresdec2.c
@@ -277,7 +277,7 @@ static int decode_picture_header(AVCodecContext *avctx, const uint8_t *buf, cons
             val = q;                                                    \
             SKIP_BITS(re, gb, q+1);                                     \
         }                                                               \
-    } while (0);                                                        \
+    } while (0)
 
 #define TOSIGNED(x) (((x) >> 1) ^ (-((x) & 1)))
 



More information about the ffmpeg-cvslog mailing list