FS-9651 Fix incorrect expression

This commit is contained in:
William King 2016-10-19 18:38:06 -07:00
parent 6dac2b5ff4
commit 9407f890ab

View File

@ -5987,7 +5987,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;
}