[asterisk-commits] rmudgett: trunk r400374 - in /trunk: ./ channels/chan_vpb.cc
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Oct 3 11:28:36 CDT 2013
Author: rmudgett
Date: Thu Oct 3 11:28:35 2013
New Revision: 400374
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400374
Log:
chan_vpb: Make compile again.
........
Merged revisions 400373 from http://svn.asterisk.org/svn/asterisk/branches/12
Modified:
trunk/ (props changed)
trunk/channels/chan_vpb.cc
Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Thu Oct 3 11:28:35 2013
@@ -1,1 +1,1 @@
-/branches/12:1-398558,398560-398577,398579-399305,399307-400181,400194,400196,400205,400217,400227,400236,400245,400254,400256,400265,400268,400270,400281,400284,400286,400291,400303,400312,400316,400318-400319,400356,400362
+/branches/12:1-398558,398560-398577,398579-399305,399307-400181,400194,400196,400205,400217,400227,400236,400245,400254,400256,400265,400268,400270,400281,400284,400286,400291,400303,400312,400316,400318-400319,400356,400362,400373
Modified: trunk/channels/chan_vpb.cc
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_vpb.cc?view=diff&rev=400374&r1=400373&r2=400374
==============================================================================
--- trunk/channels/chan_vpb.cc (original)
+++ trunk/channels/chan_vpb.cc Thu Oct 3 11:28:35 2013
@@ -2673,10 +2673,12 @@
struct ast_format tmpfmt;
int num_cards = 0;
- if (!(vpb_tech.capabilities = ast_format_cap_alloc())) {
+ vpb_tech.capabilities = ast_format_cap_alloc((enum ast_format_cap_flags) 0);
+ if (!vpb_tech.capabilities) {
return AST_MODULE_LOAD_DECLINE;
}
- if (!(vpb_tech_indicate.capabilities = ast_format_cap_alloc())) {
+ vpb_tech_indicate.capabilities = ast_format_cap_alloc((enum ast_format_cap_flags) 0);
+ if (!vpb_tech_indicate.capabilities) {
return AST_MODULE_LOAD_DECLINE;
}
ast_format_cap_add(vpb_tech.capabilities, ast_format_set(&tmpfmt, AST_FORMAT_SLINEAR, 0));
More information about the asterisk-commits
mailing list