aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qcelpdec.c
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2008-12-26 16:50:21 +0000
committerReynaldo H. Verdejo Pinochet <reynaldo@opendot.cl>2008-12-26 16:50:21 +0000
commita3636fa033ac19226fee52a616141bc5e5ff9fde (patch)
tree3cf32fac4e922d52dda2287d034cbb6c25a3c0a6 /libavcodec/qcelpdec.c
parent4f54fb54e3972fced43b17903da7292e31947ee0 (diff)
downloadffmpeg-a3636fa033ac19226fee52a616141bc5e5ff9fde.tar.gz
COSMETICS Part 3 and final of Kenan Gillet's QCELP silence handling patch.
Originally committed as revision 16338 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/qcelpdec.c')
-rw-r--r--libavcodec/qcelpdec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 5b1a9e34ae..c862928b49 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -544,10 +544,10 @@ static void apply_pitch_filters(QCELPContext *q, float *cdn_vector)
if (q->bitrate == I_F_Q)
{
- if (q->erasure_count < 3)
- max_pitch_gain = 0.9 - 0.3 * (q->erasure_count - 1);
- else
- max_pitch_gain = 0.0;
+ if (q->erasure_count < 3)
+ max_pitch_gain = 0.9 - 0.3 * (q->erasure_count - 1);
+ else
+ max_pitch_gain = 0.0;
}else
{
assert(q->bitrate == SILENCE);