Skip to content

Commit

Permalink
Fixed runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
lminiero committed Feb 7, 2022
1 parent e550dd9 commit 2068e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ice.c
Original file line number Diff line number Diff line change
Expand Up @@ -4014,8 +4014,8 @@ static void janus_ice_rtp_extension_update(janus_ice_handle *handle, janus_ice_q
}
if(video && packet->extensions.video_rotation != -1 && handle->stream->videoorientation_ext_id > 0) {
/* Add video-orientation extension */
gboolean c = packet->extensions.video_back_camera,
f = packet->extensions.video_flipped, r1 = FALSE, r0 = FALSE;
gboolean c = (packet->extensions.video_back_camera == TRUE),
f = (packet->extensions.video_flipped == TRUE), r1 = FALSE, r0 = FALSE;
switch(packet->extensions.video_rotation) {
case 270:
r1 = TRUE;
Expand Down

0 comments on commit 2068e88

Please sign in to comment.