aboutsummaryrefslogtreecommitdiff
path: root/audio/sphinx
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sphinx')
-rw-r--r--audio/sphinx/files/patch-src_libsphinx2_cdcn_update.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/sphinx/files/patch-src_libsphinx2_cdcn_update.c b/audio/sphinx/files/patch-src_libsphinx2_cdcn_update.c
new file mode 100644
index 000000000000..138111ef6bc6
--- /dev/null
+++ b/audio/sphinx/files/patch-src_libsphinx2_cdcn_update.c
@@ -0,0 +1,13 @@
+--- src/libsphinx2/cdcn_update.c.orig Fri Sep 17 14:17:51 2004
++++ src/libsphinx2/cdcn_update.c Fri Sep 17 14:26:32 2004
+@@ -57,8 +57,8 @@
+ float *noise, *tilt, *codebook, *prob, *variance, *corrbook;
+ int num_codes;
+ /* Multidimensional arrays, gar gar gar */
+- static float initialize (float *, int, float *, float *, float,
+- float *, float *, float *, int);
++ static float initialize (float [][NUM_COEFF+1], int, float *, float *, float,
++ float [][NUM_COEFF+1], float *, float [][NUM_COEFF+1], int);
+ static void correction(float *, float *, float *, float *, int);
+ static float max_q (float *, float *, float *, float *, float *,
+ float *, int, float *, int);