projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d069845
)
add missing ~ to ast_parse_allow_deny that was breaking disallow
author
Anthony Minessale II
<anthmct@yahoo.com>
Fri, 3 Dec 2004 01:05:40 +0000
(
01:05
+0000)
committer
Anthony Minessale II
<anthmct@yahoo.com>
Fri, 3 Dec 2004 01:05:40 +0000
(
01:05
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4377
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
frame.c
patch
|
blob
|
history
diff --git
a/frame.c
b/frame.c
index
c3f0d94
..
2b116fb
100755
(executable)
--- a/
frame.c
+++ b/
frame.c
@@
-974,7
+974,7
@@
void ast_parse_allow_deny(struct ast_codec_pref *pref, int *mask, char *list, in
if (allowing)
(*mask) |= format_i;
else
- (*mask) &= format_i;
+ (*mask) &= ~format_i;
}
/* can't consider 'all' a prefered codec*/
if(pref && strcasecmp(last_format, "all")) {