summaryrefslogtreecommitdiff
path: root/modules/h265
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 /modules/h265
parent503944520f94545daace7e6236265362560da960 (diff)
vidcodec: make the API re-entrant
Diffstat (limited to 'modules/h265')
-rw-r--r--modules/h265/h265.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/h265/h265.c b/modules/h265/h265.c
index 5f1dfa6..fc289e2 100644
--- a/modules/h265/h265.c
+++ b/modules/h265/h265.c
@@ -45,7 +45,7 @@ static int module_init(void)
avcodec_register_all();
- vidcodec_register(&h265);
+ vidcodec_register(baresip_vidcodecl(), &h265);
return 0;
}