summaryrefslogtreecommitdiff
path: root/modules/amr
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/amr
parent5992d4e01e401b7913dc0a9f95229260fa388fe1 (diff)
aucodec: move list of aucodec to struct baresip (#221)
Diffstat (limited to 'modules/amr')
-rw-r--r--modules/amr/amr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/amr/amr.c b/modules/amr/amr.c
index 0596812..52c20b3 100644
--- a/modules/amr/amr.c
+++ b/modules/amr/amr.c
@@ -313,10 +313,10 @@ static int module_init(void)
int err = 0;
#ifdef AMR_WB
- aucodec_register(&amr_wb);
+ aucodec_register(baresip_aucodecl(), &amr_wb);
#endif
#ifdef AMR_NB
- aucodec_register(&amr_nb);
+ aucodec_register(baresip_aucodecl(), &amr_nb);
#endif
return err;