Properly handle SILENCE frame. Patch by Kenan Gillet.
Originally committed as revision 18734 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Reynaldo H. Verdejo Pinochet
parent
6b71ed1678
commit
5b05059d2d
@@ -249,7 +249,7 @@ static void decode_gain_and_index(QCELPContext *q,
|
|||||||
gain[2] = gain[1];
|
gain[2] = gain[1];
|
||||||
gain[1] = 0.6*gain[0] + 0.4*gain[1];
|
gain[1] = 0.6*gain[0] + 0.4*gain[1];
|
||||||
}
|
}
|
||||||
}else
|
}else if (q->bitrate != SILENCE)
|
||||||
{
|
{
|
||||||
if(q->bitrate == RATE_OCTAVE)
|
if(q->bitrate == RATE_OCTAVE)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user