Browse Source

Properly handle SILENCE frame. Patch by Kenan Gillet.

Originally committed as revision 18734 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Kenan Gillet Reynaldo H. Verdejo Pinochet 17 years ago
parent
commit
5b05059d2d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/qcelpdec.c

+ 1
- 1
libavcodec/qcelpdec.c View File

@@ -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)
{


Loading…
Cancel
Save