[FFmpeg-cvslog] r16338 - trunk/libavcodec/qcelpdec.c

reynaldo subversion
Fri Dec 26 17:50:21 CET 2008


Author: reynaldo
Date: Fri Dec 26 17:50:21 2008
New Revision: 16338

Log:
COSMETICS Part 3 and final of Kenan Gillet's QCELP silent handling patch.

Modified:
   trunk/libavcodec/qcelpdec.c

Modified: trunk/libavcodec/qcelpdec.c
==============================================================================
--- trunk/libavcodec/qcelpdec.c	Fri Dec 26 17:49:06 2008	(r16337)
+++ trunk/libavcodec/qcelpdec.c	Fri Dec 26 17:50:21 2008	(r16338)
@@ -544,10 +544,10 @@ static void apply_pitch_filters(QCELPCon
 
             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);




More information about the ffmpeg-cvslog mailing list