From a3636fa033ac19226fee52a616141bc5e5ff9fde Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Fri, 26 Dec 2008 16:50:21 +0000 Subject: 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 --- libavcodec/qcelpdec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libavcodec/qcelpdec.c') 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); -- cgit v1.2.3