FS-9651 Fix incorrect expression

This commit is contained in:
William King 2016-10-19 18:38:06 -07:00 committed by Mike Jerris
parent e9f1830489
commit cae04beb32
1 changed files with 1 additions and 1 deletions

View File

@ -5461,7 +5461,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_set_video_file(switch_core_ses
return SWITCH_STATUS_FALSE;
}
if (!smh->video_read_fh && !smh->video_read_fh && !switch_channel_test_flag(session->channel, CF_VIDEO)) {
if (!smh->video_read_fh && !smh->video_write_fh && !switch_channel_test_flag(session->channel, CF_VIDEO)) {
return SWITCH_STATUS_FALSE;
}