aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-07 17:45:31 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-07 17:45:31 +0000
commit227698cc981b33c64009390d655a254bfd29d359 (patch)
tree7d79fd8a9bca2626e9751ef67a3807925b3791e8
parent4362bb40332b0475e2e8b53e402f3527efdee107 (diff)
Minor change so chan_h323 builds again.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89086 f38db490-d61c-443f-a65b-d21fe96a405b
-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;