pass thru the fmtp
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7542 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
de7324a46c
commit
9fbf240404
|
@ -45,6 +45,9 @@ static switch_status_t switch_h26x_init(switch_codec_t *codec, switch_codec_flag
|
||||||
if (!(encoding || decoding)) {
|
if (!(encoding || decoding)) {
|
||||||
return SWITCH_STATUS_FALSE;
|
return SWITCH_STATUS_FALSE;
|
||||||
} else {
|
} else {
|
||||||
|
if (codec->fmtp_in) {
|
||||||
|
codec->fmtp_out = switch_core_strdup(codec->memory_pool, codec->fmtp_in);
|
||||||
|
}
|
||||||
return SWITCH_STATUS_SUCCESS;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue