aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;