mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Fix function linphone_video_definition_equals
This commit is contained in:
parent
a399cb0579
commit
abf91b0648
1 changed files with 3 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue