# HG changeset patch # User reynaldo # Date 1241407557 0 # Node ID a0517e3590fd22e0340a67961e13cd6568b9e215 # Parent b8140a218b1d6c27dfa56de0d33bd140124e37db Properly handle SILENCE frame. Patch by Kenan Gillet. diff -r b8140a218b1d -r a0517e3590fd qcelpdec.c --- a/qcelpdec.c Sun May 03 09:32:40 2009 +0000 +++ b/qcelpdec.c Mon May 04 03:25:57 2009 +0000 @@ -249,7 +249,7 @@ gain[2] = gain[1]; gain[1] = 0.6*gain[0] + 0.4*gain[1]; } - }else + }else if (q->bitrate != SILENCE) { if(q->bitrate == RATE_OCTAVE) {