aboutsummaryrefslogtreecommitdiffstats
path: root/frame.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-09 10:32:53 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-09 10:32:53 +0000
commit4c5d4309771decf2dbbe94ee98ab434e7a6b328a (patch)
tree1c048137012b536c03e70f3c507dfd4448393a69 /frame.c
parentc6a8c87fbba54ed82e192b735e4f7cffa5cab036 (diff)
Merge experimental codec preferences for IAX2 (bug #2971)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4727 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'frame.c')
-rwxr-xr-xframe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frame.c b/frame.c
index 524434220..931c7529b 100755
--- a/frame.c
+++ b/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) {