FS-7500: fix type mismatch

This commit is contained in:
Seven Du 2015-02-21 14:57:10 +08:00 committed by Michael Jerris
parent 632c781c1c
commit afc67e517b
1 changed files with 2 additions and 2 deletions

View File

@ -3661,9 +3661,9 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s
} }
if (sendonly) { if (sendonly) {
a_engine->smode = sdp_sendonly; a_engine->smode = sdp_media_flow(sdp_sendonly);
} else if (recvonly) { } else if (recvonly) {
a_engine->smode = sdp_recvonly; a_engine->smode = sdp_media_flow(sdp_recvonly);
} }