diff --git a/libcelt/celt.c b/libcelt/celt.c index 319f30cb..5c4e9c68 100644 --- a/libcelt/celt.c +++ b/libcelt/celt.c @@ -550,7 +550,7 @@ static int tf_analysis(celt_word16 *bandLogE, celt_word16 *oldBandE, int len, in { int i; celt_word16 threshold; - VARDECL(celt_word32, metric); + VARDECL(celt_word16, metric); celt_word32 average=0; celt_word32 cost0; celt_word32 cost1; @@ -602,8 +602,8 @@ static int tf_analysis(celt_word16 *bandLogE, celt_word16 *oldBandE, int len, in /* Viterbi forward pass */ for (i=1;i