fix typo that generated null video codecs in inherit_codec

This commit is contained in:
Anthony Minessale 2010-06-01 12:10:50 -05:00
parent c526228673
commit f41fbbc05b
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ static void inherit_codec(switch_channel_t *caller_channel, switch_core_session_
if (switch_core_session_get_read_impl(session, &impl) == SWITCH_STATUS_SUCCESS) {
if (switch_core_session_get_video_read_impl(session, &impl) == SWITCH_STATUS_SUCCESS) {
if (switch_core_session_get_video_read_impl(session, &video_impl) == SWITCH_STATUS_SUCCESS) {
switch_snprintf(tmp, sizeof(tmp), "%s@%uh@%ui,%s",
impl.iananame, impl.samples_per_second, impl.microseconds_per_packet / 1000,
video_impl.iananame);