[zaptel-commits] kpfleming: branch mogorman/zaptel-1.2-transcoder
r2009 - /team/mogorman/zapte...
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Mon Jan 29 14:39:32 MST 2007
Author: kpfleming
Date: Mon Jan 29 15:39:31 2007
New Revision: 2009
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2009
Log:
oops
Modified:
team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c
Modified: team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c?view=diff&rev=2009&r1=2008&r2=2009
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c Mon Jan 29 15:39:31 2007
@@ -1204,7 +1204,7 @@
}
for (ret = 0, last_byteloc = byteloc = 17; byteloc < (firmware->size - 20); last_byteloc = byteloc) {
- length = (firmware->data[byteloc] << 8) | firmware->data[byteloc];
+ length = (firmware->data[byteloc] << 8) | firmware->data[byteloc + 1];
byteloc += 2;
__transmit_one(wc, firmware->data + byteloc, length);
byteloc += length;
More information about the zaptel-commits
mailing list