diff sonic.c @ 7776:dbcdd0165e55 libavcodec

Replace generic CONFIG_DECODERS preprocessor conditionals by more specific CONFIG_FOO_DECODER conditionals where appropriate.
author diego
date Tue, 02 Sep 2008 23:25:57 +0000
parents 85ab7655ad4d
children 6efb15a24e91
line wrap: on
line diff
--- a/sonic.c	Tue Sep 02 23:14:11 2008 +0000
+++ b/sonic.c	Tue Sep 02 23:25:57 2008 +0000
@@ -750,7 +750,7 @@
 }
 #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 @@
 
     return (get_bits_count(&gb)+7)/8;
 }
-#endif
+#endif /* CONFIG_SONIC_DECODER */
 
 #ifdef CONFIG_ENCODERS
 AVCodec sonic_encoder = {
@@ -963,7 +963,7 @@
 };
 #endif
 
-#ifdef CONFIG_DECODERS
+#ifdef CONFIG_SONIC_DECODER
 AVCodec sonic_decoder = {
     "sonic",
     CODEC_TYPE_AUDIO,