fix typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12985 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
303c2221c4
commit
05348829aa
|
@ -126,7 +126,7 @@ static switch_status_t init_encoder(switch_codec_t *codec)
|
||||||
fmts.dstfmt = (codec->implementation->ianacode == CODEC_G729_IANA_CODE)
|
fmts.dstfmt = (codec->implementation->ianacode == CODEC_G729_IANA_CODE)
|
||||||
? DAHDI_FORMAT_G729A : DAHDI_FORMAT_G723_1;
|
? DAHDI_FORMAT_G729A : DAHDI_FORMAT_G723_1;
|
||||||
context->encoding_fd = switch_dahdi_get_transcoder(&fmts);
|
context->encoding_fd = switch_dahdi_get_transcoder(&fmts);
|
||||||
if (context->decoding_fd < 0) {
|
if (context->encoding_fd < 0) {
|
||||||
#ifdef DEBUG_DAHDI_CODEC
|
#ifdef DEBUG_DAHDI_CODEC
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "encoding requested and denied with %d/%d.\n",
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "encoding requested and denied with %d/%d.\n",
|
||||||
fmts.srcfmt, fmts.dstfmt);
|
fmts.srcfmt, fmts.dstfmt);
|
||||||
|
|
Loading…
Reference in New Issue