25 Nov
2008
25 Nov
'08
5:08 p.m.
Author: mikej Date: Tue Nov 25 12:08:27 2008 New Revision: 10532 Log: avoid seg. Modified: freeswitch/trunk/src/switch_core_session.c Modified: freeswitch/trunk/src/switch_core_session.c ============================================================================== --- freeswitch/trunk/src/switch_core_session.c (original) +++ freeswitch/trunk/src/switch_core_session.c Tue Nov 25 12:08:27 2008 @@ -346,7 +346,7 @@ profile = switch_channel_get_caller_profile(channel); - if (read_codec) { + if (read_codec && read_codec->implementation) { char tmp[80]; switch_codec2str(read_codec, tmp, sizeof(tmp)); switch_channel_set_variable(peer_channel, SWITCH_ORIGINATOR_CODEC_VARIABLE, tmp);
6553
Age (days ago)
6553
Last active (days ago)
0 comments
1 participants
participants (1)
-
FreeSWITCH SVN