diff options
author | Mans Rullgard <mans@mansr.com> | 2011-02-10 12:04:25 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-11 02:54:10 +0100 |
commit | 98ec828775235b7d3c59cf007d8c75db4cb93de1 (patch) | |
tree | cbb2ed58e3587d08c91d2388e9618611afab02c5 /libavcodec/adpcm.c | |
parent | 41bb47bf960e52d2dfcfcf1cff475ff39bbeb130 (diff) | |
download | ffmpeg-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/adpcm.c')
-rw-r--r-- | libavcodec/adpcm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index fb5bdc7faa..826c588676 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1719,7 +1719,7 @@ AVCodec ff_ ## name ## _encoder = { \ NULL, \ .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE}, \ .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ -}; +} #else #define ADPCM_ENCODER(id,name,long_name_) #endif @@ -1736,13 +1736,13 @@ AVCodec ff_ ## name ## _decoder = { \ NULL, \ adpcm_decode_frame, \ .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ -}; +} #else #define ADPCM_DECODER(id,name,long_name_) #endif #define ADPCM_CODEC(id,name,long_name_) \ - ADPCM_ENCODER(id,name,long_name_) ADPCM_DECODER(id,name,long_name_) + ADPCM_ENCODER(id,name,long_name_); ADPCM_DECODER(id,name,long_name_) /* Note: Do not forget to add new entries to the Makefile as well. */ ADPCM_DECODER(CODEC_ID_ADPCM_4XM, adpcm_4xm, "ADPCM 4X Movie"); |