aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sonic.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-09-02 23:25:57 +0000
committerDiego Biurrun <diego@biurrun.de>2008-09-02 23:25:57 +0000
commit2a43a093edd8e717cc14d3cf14a8562f7f711f02 (patch)
tree59dc488953ba5ec2ea06299af99a0923f04c5b99 /libavcodec/sonic.c
parentab210908692a979834c59661c6d4ed0fff2370f5 (diff)
downloadffmpeg-2a43a093edd8e717cc14d3cf14a8562f7f711f02.tar.gz
Replace generic CONFIG_DECODERS preprocessor conditionals by more specific
CONFIG_FOO_DECODER conditionals where appropriate. Originally committed as revision 15162 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sonic.c')
-rw-r--r--libavcodec/sonic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c
index 60d36a5891..d8bae3af3d 100644
--- a/libavcodec/sonic.c
+++ b/libavcodec/sonic.c
@@ -750,7 +750,7 @@ static int sonic_encode_frame(AVCodecContext *avctx,
}
#endif //CONFIG_ENCODERS
-#ifdef CONFIG_DECODERS
+#ifdef CONFIG_SONIC_DECODER
static av_cold int sonic_decode_init(AVCodecContext *avctx)
{
SonicContext *s = avctx->priv_data;
@@ -935,7 +935,7 @@ static int sonic_decode_frame(AVCodecContext *avctx,
return (get_bits_count(&gb)+7)/8;
}
-#endif
+#endif /* CONFIG_SONIC_DECODER */
#ifdef CONFIG_ENCODERS
AVCodec sonic_encoder = {
@@ -963,7 +963,7 @@ AVCodec sonic_ls_encoder = {
};
#endif
-#ifdef CONFIG_DECODERS
+#ifdef CONFIG_SONIC_DECODER
AVCodec sonic_decoder = {
"sonic",
CODEC_TYPE_AUDIO,