[svn-commits] kpfleming: branch mogorman/zaptel-1.2-transcoder
r2010 - /team/mogorman/zapte...
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Mon Jan 29 14:57:33 MST 2007
Author: kpfleming
Date: Mon Jan 29 15:57:32 2007
New Revision: 2010
URL: http://svn.digium.com/view/zaptel?view=rev&rev=2010
Log:
oops... don't double-multiple the write offset
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=2010&r1=2009&r2=2010
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c Mon Jan 29 15:57:32 2007
@@ -453,7 +453,7 @@
static inline void __transmit_one(struct wcdte *wc, u8 *data, u32 length)
{
u32 o2 = wc->tdbl * 4;
- volatile u8 *writechunk = wc->writechunk + (o2 * SFRAME_SIZE);
+ volatile u8 *writechunk = wc->writechunk + (wc->tdbl * SFRAME_SIZE);
u32 xmt_length;
debug_printk(1, "transmitting %d bytes from %p\n", length, data);
More information about the svn-commits
mailing list