# HG changeset patch # User Stu Tomlinson # Date 1132864704 0 # Node ID 31b91bfab029d55692cd2ac74ceb6dba81603876 # Parent cadda0024205ca3a94510ec2f94715d949edd908 [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 diff -r cadda0024205 -r 31b91bfab029 src/media.c --- 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(); }