[svn-commits] qwell: trunk r482 - /trunk/asterisk-ooh323c/src/chan_h323.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Nov 8 15:17:49 CST 2007


Author: qwell
Date: Thu Nov  8 15:17:48 2007
New Revision: 482

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=482
Log:
Let ooh323 build again.

Issue 11198, patch by dimas

Modified:
    trunk/asterisk-ooh323c/src/chan_h323.c

Modified: trunk/asterisk-ooh323c/src/chan_h323.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/asterisk-ooh323c/src/chan_h323.c?view=diff&rev=482&r1=481&r2=482
==============================================================================
--- trunk/asterisk-ooh323c/src/chan_h323.c (original)
+++ trunk/asterisk-ooh323c/src/chan_h323.c Thu Nov  8 15:17:48 2007
@@ -465,7 +465,7 @@
                               ast_getformatname_multiple(formats,512,format) );
 
    oldformat = format;
-   format &= ((AST_FORMAT_MAX_AUDIO << 1) - 1);
+   format &= AST_FORMAT_AUDIO_MASK;
    if (!format) {
       ast_log(LOG_NOTICE, "Asked to get a channel of unsupported format "
                           "'%d'\n", format);




More information about the svn-commits mailing list