[SCM] opencore-amr packaging branch, master, updated. upstream/0.1.2-10-g7bf1e45

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Fri Sep 18 20:48:51 UTC 2009


The following commit has been merged in the master branch:
commit 654e3a5365e3fd3d881140b839c208c1e58b0cf0
Author: Martin Storsjo <martin at martin.st>
Date:   Fri Jul 31 15:24:43 2009 +0300

    Initialize the whole indx array with NB_PULSE (10) values instead of
    NB_TRACK (8), since 10 values of the array are used.

diff --git a/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/c1035pf.cpp b/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/c1035pf.cpp
index e3e428d..308dbfd 100644
--- a/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/c1035pf.cpp
+++ b/opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/c1035pf.cpp
@@ -358,7 +358,7 @@ static void build_code(
     OSCL_UNUSED_ARG(pOverflow);
 
     oscl_memset(cod, 0, L_CODE*sizeof(*cod));
-    oscl_memset(indx, 0xFF, NB_TRACK*sizeof(*indx));
+    oscl_memset(indx, 0xFF, NB_PULSE*sizeof(*indx));
 
     p__sign = _sign;
 

-- 
opencore-amr packaging



More information about the pkg-multimedia-commits mailing list