[FFmpeg-soc] [soc]: r3825 - dirac/libavcodec/dirac.c

conrad subversion at mplayerhq.hu
Tue Nov 11 09:38:33 CET 2008


Author: conrad
Date: Tue Nov 11 09:38:33 2008
New Revision: 3825

Log:
Cosmetics: uneeded braces


Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Tue Nov 11 09:38:33 2008
@@ -283,19 +283,16 @@ static int parse_source_parameters(GetBi
 
         if (!source->color_spec_index) {
             /* color primaries */
-            if (get_bits1(gb)) {
+            if (get_bits1(gb))
                 source->color_spec.primaries = svq3_get_ue_golomb(gb);
-            }
 
             /* override matrix */
-            if (get_bits1(gb)) {
+            if (get_bits1(gb))
                 source->color_spec.matrix = svq3_get_ue_golomb(gb);
-            }
 
             /* transfer function */
-            if (get_bits1(gb)) {
+            if (get_bits1(gb))
                 source->color_spec.transfer_function = svq3_get_ue_golomb(gb);
-            }
 
             if (source->color_spec.primaries > 3 ||
                 source->color_spec.matrix > 2 ||



More information about the FFmpeg-soc mailing list