summaryrefslogtreecommitdiff
path: root/channels/h323
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-11-07 17:45:31 +0000
committerJoshua Colp <jcolp@digium.com>2007-11-07 17:45:31 +0000
commitfc0853c7bce106e1e4e31e6102f9805dbee37c3d (patch)
tree7d79fd8a9bca2626e9751ef67a3807925b3791e8 /channels/h323
parent225b653fc0ac580c52a469ee14bd469c7203da14 (diff)
Minor change so chan_h323 builds again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/h323')
-rw-r--r--channels/h323/ast_h323.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/h323/ast_h323.cxx b/channels/h323/ast_h323.cxx
index 16a3b3a99..4fd997b94 100644
--- a/channels/h323/ast_h323.cxx
+++ b/channels/h323/ast_h323.cxx
@@ -1890,8 +1890,6 @@ void MyH323Connection::SetCapabilities(int caps, int dtmf_mode, void *_prefs, in
else if (y || (!(codec = ast_codec_pref_index(prefs, x)))) {
if (!y)
y = 1;
- else if (y == AST_FORMAT_MAX_AUDIO)
- break;
else
y <<= 1;
codec = y;