OSDN Git Service

cleanup: remove two extraneous semicolons.
authorClément Bœsch <ubitux@gmail.com>
Mon, 12 Dec 2011 00:56:52 +0000 (01:56 +0100)
committerClément Bœsch <ubitux@gmail.com>
Mon, 12 Dec 2011 16:49:33 +0000 (17:49 +0100)
libavcodec/libx264.c
libavcodec/proresdec2.c

index 38351e5..499c953 100644 (file)
@@ -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)
 {
index a96af4f..7f940d2 100644 (file)
@@ -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)))