Commit 5b05059d authored by Kenan Gillet's avatar Kenan Gillet Committed by Reynaldo H. Verdejo Pinochet

Properly handle SILENCE frame. Patch by Kenan Gillet.

Originally committed as revision 18734 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6b71ed16
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment