changeset 12215:31b91bfab029

[gaim-migrate @ 14517] make this stuff compile without iLBC. Really I want to rip out anything that references iLBC, but I don't know exactly how optional it is or if I'd get shot for doing that. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 24 Nov 2005 20:38:24 +0000
parents cadda0024205
children 4d3119205a33
files src/media.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/media.c	Thu Nov 24 18:04:58 2005 +0000
+++ b/src/media.c	Thu Nov 24 20:38:24 2005 +0000
@@ -29,7 +29,9 @@
 
 #include "media.h"
 #include "mediastream.h"
+#ifdef HAVE_ILBC
 #include "msilbcdec.h"
+#endif
 
 
 /* msrtpsend.o and msrtprecv.o aren't used within the core, so
@@ -57,7 +59,9 @@
 void gaim_media_init()
 {
 	ms_init();
+#ifdef HAVE_ILBC
 	ms_ilbc_codec_init();
+#endif
 	ms_speex_codec_init();
 	ortp_init();
 }