summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-12-12 01:56:52 +0100
committerClément Bœsch <ubitux@gmail.com>2011-12-12 17:49:33 +0100
commit66160bdb0140586c44e494336c3c05f5928a6367 (patch)
tree248323c2aaacad06576cec178a48d3c82e81274a /libavcodec
parentee731c1ab071ee51839fd6c2db15dc719349ebb2 (diff)
cleanup: remove two extraneous semicolons.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libx264.c2
-rw-r--r--libavcodec/proresdec2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 38351e59cf..499c9536df 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 a96af4fa9f..7f940d2788 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)))