diff options
Diffstat (limited to 'libavcodec/qcelpdec.c')
-rw-r--r-- | libavcodec/qcelpdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c index eff57cfecf..68b9d2c04a 100644 --- a/libavcodec/qcelpdec.c +++ b/libavcodec/qcelpdec.c @@ -249,7 +249,7 @@ static void decode_gain_and_index(QCELPContext *q, 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) { |