Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
7fe41ec0
Commit
7fe41ec0
authored
Mar 21, 2013
by
Simon Morlat
Browse files
fix crash related to zrtp hello hash when adding video
parent
0466c949
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/linphonecall.c
View file @
7fe41ec0
...
...
@@ -271,7 +271,7 @@ void linphone_call_make_local_media_description(LinphoneCore *lc, LinphoneCall *
l
=
make_codec_list
(
lc
,
lc
->
codecs_conf
.
video_codecs
,
0
,
NULL
,
-
1
);
md
->
streams
[
1
].
payloads
=
l
;
// if ZRTP is enabled, put the hello hash into the audiostream's desc
if
(
call
->
videostream
->
ms
.
zrtp_context
!=
NULL
){
if
(
call
->
videostream
&&
call
->
videostream
->
ms
.
zrtp_context
!=
NULL
){
ortp_zrtp_get_hello_hash
(
call
->
videostream
->
ms
.
zrtp_context
,
md
->
streams
[
1
].
zrtp_hello_hash
,
sizeof
(
md
->
streams
[
1
].
zrtp_hello_hash
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment