summaryrefslogtreecommitdiff
path: root/libavcodec/pcm.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-02-10 12:04:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-02-11 02:54:10 +0100
commit98ec828775235b7d3c59cf007d8c75db4cb93de1 (patch)
treecbb2ed58e3587d08c91d2388e9618611afab02c5 /libavcodec/pcm.c
parent41bb47bf960e52d2dfcfcf1cff475ff39bbeb130 (diff)
downloadffmpeg-98ec828775235b7d3c59cf007d8c75db4cb93de1.tar.gz
Remove final semicolon from some macros
This avoids double semicolons after macro expansion. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 44adbebe1744c68d66d7f811c38270fdcc89665a)
Diffstat (limited to 'libavcodec/pcm.c')
-rw-r--r--libavcodec/pcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c
index 0785a9d2ab..cdc11f80d0 100644
--- a/libavcodec/pcm.c
+++ b/libavcodec/pcm.c
@@ -482,7 +482,7 @@ AVCodec ff_ ## name_ ## _encoder = { \
.close = pcm_encode_close, \
.sample_fmts = (const enum AVSampleFormat[]){sample_fmt_,AV_SAMPLE_FMT_NONE}, \
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
-};
+}
#else
#define PCM_ENCODER(id,sample_fmt_,name,long_name_)
#endif
@@ -498,13 +498,13 @@ AVCodec ff_ ## name_ ## _decoder = { \
.decode = pcm_decode_frame, \
.sample_fmts = (const enum AVSampleFormat[]){sample_fmt_,AV_SAMPLE_FMT_NONE}, \
.long_name = NULL_IF_CONFIG_SMALL(long_name_), \
-};
+}
#else
#define PCM_DECODER(id,sample_fmt_,name,long_name_)
#endif
#define PCM_CODEC(id, sample_fmt_, name, long_name_) \
- PCM_ENCODER(id,sample_fmt_,name,long_name_) PCM_DECODER(id,sample_fmt_,name,long_name_)
+ PCM_ENCODER(id,sample_fmt_,name,long_name_); PCM_DECODER(id,sample_fmt_,name,long_name_)
/* Note: Do not forget to add new entries to the Makefile as well. */
PCM_CODEC (CODEC_ID_PCM_ALAW, AV_SAMPLE_FMT_S16, pcm_alaw, "PCM A-law");