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
abf91b06
Commit
abf91b06
authored
Aug 23, 2017
by
Erwan Croze
👋🏻
Browse files
Fix function linphone_video_definition_equals
parent
a399cb05
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/video_definition.c
View file @
abf91b06
...
...
@@ -101,8 +101,9 @@ void linphone_video_definition_set_name(LinphoneVideoDefinition *vdef, const cha
}
bool_t
linphone_video_definition_equals
(
const
LinphoneVideoDefinition
*
vdef1
,
const
LinphoneVideoDefinition
*
vdef2
)
{
return
(((
vdef1
->
width
==
vdef2
->
width
)
&&
(
vdef1
->
height
==
vdef2
->
height
))
||
((
vdef1
->
width
==
vdef2
->
height
)
&&
(
vdef1
->
height
==
vdef2
->
width
)));
return
((
vdef1
!=
NULL
&&
vdef2
!=
NULL
)
&&
(((
vdef1
->
width
==
vdef2
->
width
)
&&
(
vdef1
->
height
==
vdef2
->
height
))
||
((
vdef1
->
width
==
vdef2
->
height
)
&&
(
vdef1
->
height
==
vdef2
->
width
))));
}
bool_t
linphone_video_definition_strict_equals
(
const
LinphoneVideoDefinition
*
vdef1
,
const
LinphoneVideoDefinition
*
vdef2
)
{
...
...
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