Commit 3544672f authored by reynaldo's avatar reynaldo

Properly handle SILENCE frame. Patch by Kenan Gillet.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18734 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f871318f
...@@ -249,7 +249,7 @@ static void decode_gain_and_index(QCELPContext *q, ...@@ -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)
{ {
......
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