From cae04beb326c430f52704b88abaff2ea0be72417 Mon Sep 17 00:00:00 2001 From: William King Date: Wed, 19 Oct 2016 18:38:06 -0700 Subject: [PATCH] FS-9651 Fix incorrect expression --- src/switch_core_media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 92491cf1b7..141e5661d9 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -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; }