reflect bit properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4412 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3aa23ada21
commit
033257583b
|
@ -202,7 +202,7 @@ static switch_status_t switch_amr_init(switch_codec_t *codec, switch_codec_flag_
|
||||||
context->enc_mode = globals.default_bitrate;
|
context->enc_mode = globals.default_bitrate;
|
||||||
}
|
}
|
||||||
|
|
||||||
snprintf(fmtptmp, sizeof(fmtptmp), "octet-align=0; mode-set=%d", context->enc_mode);
|
snprintf(fmtptmp, sizeof(fmtptmp), "octet-align=%d; mode-set=%d", switch_test_flag(context, AMR_OPT_OCTET_ALIGN) ? 1 : 0, context->enc_mode);
|
||||||
codec->fmtp_out = switch_core_strdup(codec->memory_pool, fmtptmp);
|
codec->fmtp_out = switch_core_strdup(codec->memory_pool, fmtptmp);
|
||||||
|
|
||||||
context->enc_mode = AMR_DEFAULT_BITRATE;
|
context->enc_mode = AMR_DEFAULT_BITRATE;
|
||||||
|
|
Loading…
Reference in New Issue