[zaptel-commits] kpfleming: branch mogorman/zaptel-1.2-transcoder r2056 - in /team/mogorman/za...

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Wed Jan 31 10:13:16 MST 2007


Author: kpfleming
Date: Wed Jan 31 11:13:15 2007
New Revision: 2056

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2056
Log:
ignore the codec_test binary
don't try to use l33t C code when it doesn't work

Modified:
    team/mogorman/zaptel-1.2-transcoder/wctc4xxp/   (props changed)
    team/mogorman/zaptel-1.2-transcoder/zttranscode.c

Propchange: team/mogorman/zaptel-1.2-transcoder/wctc4xxp/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Jan 31 11:13:15 2007
@@ -1,3 +1,4 @@
 *.cmd
 *.mod.c
 *.ko
+codec_test

Modified: team/mogorman/zaptel-1.2-transcoder/zttranscode.c
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/zttranscode.c?view=diff&rev=2056&r1=2055&r2=2056
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/zttranscode.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/zttranscode.c Wed Jan 31 11:13:15 2007
@@ -315,8 +315,10 @@
 	spin_lock(&translock);
 	x = info.tcnum;
 	list_for_each_entry(tc, &trans, list) {
-		if (!x--)
+		if (!x)
 			break;
+		else
+			x--;
 	}
 	spin_unlock(&translock);
 



More information about the zaptel-commits mailing list