festival/SOURCES/festival-1.96-speechtools-rateconvtrivialbug.patch
2022-02-04 16:21:36 +00:00

13 lines
466 B
Diff

--- festival/speech_tools/base_class/rateconv.cc.orig 2007-03-13 15:13:21.000000000 -0400
+++ festival/speech_tools/base_class/rateconv.cc 2007-03-13 15:15:15.000000000 -0400
@@ -384,7 +384,8 @@
}
fir_stereo(inp + inoffset + inbaseidx,
coep + cycctr * firlen, firlen,
- outp + outidx++, outp + outidx++);
+ outp + outidx, outp + outidx + 1);
+ outidx += 2;
cycctr++;
if (!(cycctr %= up))
inbaseidx += 2*down;