From afc67e517b494fdb7d26576a16c52ceaeeb678c6 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Sat, 21 Feb 2015 14:57:10 +0800 Subject: [PATCH] FS-7500: fix type mismatch --- src/switch_core_media.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 9072cb7aa3..8d1ea76bf3 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -3661,9 +3661,9 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s } if (sendonly) { - a_engine->smode = sdp_sendonly; + a_engine->smode = sdp_media_flow(sdp_sendonly); } else if (recvonly) { - a_engine->smode = sdp_recvonly; + a_engine->smode = sdp_media_flow(sdp_recvonly); }