summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-05-20 20:19:50 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-05-20 20:19:50 +0200
commit7db06fe42f40366c29ab328173ec6c2bffd9ba40 (patch)
treeb00b4b39edf089d5cfbb2b57c0bc3f8cc19f3f97 /test
parent503944520f94545daace7e6236265362560da960 (diff)
vidcodec: make the API re-entrant
Diffstat (limited to 'test')
-rw-r--r--test/mock/mock_vidcodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mock/mock_vidcodec.c b/test/mock/mock_vidcodec.c
index 037a0b9..745e43f 100644
--- a/test/mock/mock_vidcodec.c
+++ b/test/mock/mock_vidcodec.c
@@ -194,7 +194,7 @@ static struct vidcodec vc_dummy = {
void mock_vidcodec_register(void)
{
- vidcodec_register(&vc_dummy);
+ vidcodec_register(baresip_vidcodecl(), &vc_dummy);
}