diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-09-03 16:33:21 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-09-03 16:33:21 +0400 |
commit | f544a5fc84975879746f619e01b6f1e80844e59e (patch) | |
tree | 888967928796e772987ca8a3ad5834b7029beb27 /libavcodec/g726.c | |
parent | bb6c34e55b158c457272046ed9f22b974e832fb5 (diff) |
Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific
CONFIG_FOO_ENCODER conditionals where appropriate.
Originally committed as revision 15174 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/g726.c')
-rw-r--r-- | libavcodec/g726.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c index a769c19d23..90a20da2d9 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -285,7 +285,7 @@ static av_cold int g726_reset(G726Context* c, int index) return 0; } -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_ADPCM_G726_ENCODER static int16_t g726_encode(G726Context* c, int16_t sig) { uint8_t i; @@ -342,7 +342,7 @@ static av_cold int g726_close(AVCodecContext *avctx) return 0; } -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_ADPCM_G726_ENCODER static int g726_encode_frame(AVCodecContext *avctx, uint8_t *dst, int buf_size, void *data) { @@ -381,7 +381,7 @@ static int g726_decode_frame(AVCodecContext *avctx, return buf_size; } -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_ADPCM_G726_ENCODER AVCodec adpcm_g726_encoder = { "g726", CODEC_TYPE_AUDIO, @@ -394,7 +394,7 @@ AVCodec adpcm_g726_encoder = { .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("G.726 ADPCM"), }; -#endif //CONFIG_ENCODERS +#endif AVCodec adpcm_g726_decoder = { "g726", |