mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 19:43:03 +00:00
Merge experimental codec preferences for IAX2 (bug #2971)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
frame.c
4
frame.c
@@ -810,9 +810,9 @@ int init_framer(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ast_codec_pref_shift(struct ast_codec_pref *pref, char *buf, size_t size, int right)
|
||||
void ast_codec_pref_convert(struct ast_codec_pref *pref, char *buf, size_t size, int right)
|
||||
{
|
||||
int x = 0, differential = 65, mem = 0;
|
||||
int x = 0, differential = (int) 'A', mem = 0;
|
||||
char *from = NULL, *to = NULL;
|
||||
|
||||
if(right) {
|
||||
|
||||
Reference in New Issue
Block a user