[FFmpeg-soc] [soc]: r3112 - mlp/mlpenc.c

ramiro subversion at mplayerhq.hu
Sun Aug 10 00:30:08 CEST 2008


Author: ramiro
Date: Sun Aug 10 00:30:08 2008
New Revision: 3112

Log:
Cosmetics: remove brackets around one-lined if.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Sun Aug 10 00:30:08 2008
@@ -777,9 +777,8 @@ static void codebook_bits(MLPEncodeConte
                              min, max, offset,
                              &temp_bo, &previous, &next);
 
-        if (temp_bo.bitcount < best_bo.bitcount) {
+        if (temp_bo.bitcount < best_bo.bitcount)
             best_bo = temp_bo;
-         }
 
         if (temp_bo.bitcount < previous_count)
             is_greater = 0;
@@ -798,9 +797,8 @@ static void codebook_bits(MLPEncodeConte
                              min, max, offset,
                              &temp_bo, &previous, &next);
 
-        if (temp_bo.bitcount < best_bo.bitcount) {
+        if (temp_bo.bitcount < best_bo.bitcount)
             best_bo = temp_bo;
-         }
 
         if (temp_bo.bitcount < previous_count)
             is_greater = 0;



More information about the FFmpeg-soc mailing list