diff mpegaudio.c @ 2661:b2846918585c libavcodec

a few #ifdef CONFIG_X_ENCODER, patch by (Roine Gustafsson <roine users.sourceforge net]
author michael
date Tue, 10 May 2005 20:39:11 +0000
parents e25782262d7d
children cc55bc1f8d92
line wrap: on
line diff
--- a/mpegaudio.c	Tue May 10 19:54:38 2005 +0000
+++ b/mpegaudio.c	Tue May 10 20:39:11 2005 +0000
@@ -785,6 +785,7 @@
     return 0;
 }
 
+#ifdef CONFIG_MP2_ENCODER
 AVCodec mp2_encoder = {
     "mp2",
     CODEC_TYPE_AUDIO,
@@ -795,5 +796,6 @@
     MPA_encode_close,
     NULL,
 };
+#endif // CONFIG_MP2_ENCODER
 
 #undef FIX