[asterisk-dev] [asterisk-commits] twilson: branch 1.8 r319920 - in /branches/1.8: include/asterisk/ main/

Kevin P. Fleming kpfleming at digium.com
Tue May 24 14:00:54 CDT 2011


On 05/19/2011 06:28 PM, SVN commits to the Asterisk project wrote:
> Author: twilson
> Date: Thu May 19 18:28:13 2011
> New Revision: 319920
>
> URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=319920
> Log:
> Revert part of a change to the bridging API code
>
> The capabilities used in the bridging API are very different than the
> ones used for formats. When the conversion was made expanding the bit
> width of codecs, the bridging code was accidentally accosted in ways
> that it didn't deserve.
>
> Modified:
>      branches/1.8/include/asterisk/bridging.h
>      branches/1.8/include/asterisk/bridging_technology.h
>      branches/1.8/main/bridging.c
>

> Modified: branches/1.8/include/asterisk/bridging_technology.h
> URL: http://svnview.digium.com/svn/asterisk/branches/1.8/include/asterisk/bridging_technology.h?view=diff&rev=319920&r1=319919&r2=319920
> ==============================================================================
> --- branches/1.8/include/asterisk/bridging_technology.h (original)
> +++ branches/1.8/include/asterisk/bridging_technology.h Thu May 19 18:28:13 2011
> @@ -45,7 +45,7 @@
>   	/*! Unique name to this bridge technology */
>   	const char *name;
>   	/*! The capabilities that this bridge technology is capable of */
> -	format_t capabilities;
> +	int capabilities;
>   	/*! Preference level that should be used when determining whether to use this bridge technology or not */
>   	enum ast_bridge_preference preference;
>   	/*! Callback for when a bridge is being created */

Any particular reason this variable isn't also an 'enum 
ast_bridge_capability'?

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list