[svn-commits] dvossel: branch dvossel/fixtheworld_phase1_step3 r303554 - /team/dvossel/fixt...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jan 24 15:17:28 CST 2011


Author: dvossel
Date: Mon Jan 24 15:17:22 2011
New Revision: 303554

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=303554
Log:
Fixed an issue with old bitfield conversions i found during code review

Modified:
    team/dvossel/fixtheworld_phase1_step3/main/format_cap.c

Modified: team/dvossel/fixtheworld_phase1_step3/main/format_cap.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase1_step3/main/format_cap.c?view=diff&rev=303554&r1=303553&r2=303554
==============================================================================
--- team/dvossel/fixtheworld_phase1_step3/main/format_cap.c (original)
+++ team/dvossel/fixtheworld_phase1_step3/main/format_cap.c Mon Jan 24 15:17:22 2011
@@ -519,6 +519,7 @@
 	int x;
 	struct ast_format tmp_format = { 0, };
 
+	ast_format_cap_remove_all(dst);
 	for (x = 0; x < 64; x++) {
 		tmp = (1ULL << x);
 		if (tmp & src) {




More information about the svn-commits mailing list