[gaim-migrate @ 14517]

Thu, 24 Nov 2005 20:38:24 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Thu, 24 Nov 2005 20:38:24 +0000
changeset 12215
aefc01185eda
parent 12214
653e55ec53bd
child 12216
d80739091a63

[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.

src/media.c file | annotate | diff | comparison | revisions
--- 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();
 }

mercurial