changeset 8480:c0f1e9a9402c libavcodec

COSMETICS Part 3 and final of Kenan Gillet's QCELP silence handling patch.
author reynaldo
date Fri, 26 Dec 2008 16:50:21 +0000
parents e818b3c06712
children f456c3aebe1c
files qcelpdec.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/qcelpdec.c	Fri Dec 26 16:49:06 2008 +0000
+++ b/qcelpdec.c	Fri Dec 26 16:50:21 2008 +0000
@@ -544,10 +544,10 @@
 
             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);