summaryrefslogtreecommitdiff
path: root/modules/l16/l16.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-03-04 15:28:51 +0100
committerGitHub <noreply@github.com>2017-03-04 15:28:51 +0100
commit4f43acb07de88433ce513079233040e3e7c2b9d6 (patch)
tree2b0f010a5cc0c0009b345310a13dd14db4263573 /modules/l16/l16.c
parent5992d4e01e401b7913dc0a9f95229260fa388fe1 (diff)
aucodec: move list of aucodec to struct baresip (#221)
Diffstat (limited to 'modules/l16/l16.c')
-rw-r--r--modules/l16/l16.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/l16/l16.c b/modules/l16/l16.c
index 2f81caa..204a8f5 100644
--- a/modules/l16/l16.c
+++ b/modules/l16/l16.c
@@ -75,10 +75,11 @@ static struct aucodec l16v[NR_CODECS] = {
static int module_init(void)
{
+ struct list *aucodecl = baresip_aucodecl();
size_t i;
for (i=0; i<NR_CODECS; i++)
- aucodec_register(&l16v[i]);
+ aucodec_register(aucodecl, &l16v[i]);
return 0;
}