[FFmpeg-cvslog] r19651 - trunk/libavcodec/libdiracenc.c

diego subversion
Sat Aug 15 13:32:11 CEST 2009


Author: diego
Date: Sat Aug 15 13:32:11 2009
New Revision: 19651

Log:
Drop some more useless braces around if/for constructs.

Modified:
   trunk/libavcodec/libdiracenc.c

Modified: trunk/libavcodec/libdiracenc.c
==============================================================================
--- trunk/libavcodec/libdiracenc.c	Sat Aug 15 13:31:42 2009	(r19650)
+++ trunk/libavcodec/libdiracenc.c	Sat Aug 15 13:32:11 2009	(r19651)
@@ -80,11 +80,9 @@ static dirac_chroma_t GetDiracChromaForm
                       sizeof(ffmpeg_dirac_pixel_format_map[0]);
     int idx;
 
-    for (idx = 0; idx < num_formats; ++idx) {
-        if (ffmpeg_dirac_pixel_format_map[idx].ff_pix_fmt == ff_pix_fmt) {
+    for (idx = 0; idx < num_formats; ++idx)
+        if (ffmpeg_dirac_pixel_format_map[idx].ff_pix_fmt == ff_pix_fmt)
             return ffmpeg_dirac_pixel_format_map[idx].dirac_pix_fmt;
-        }
-    }
     return formatNK;
 }
 



More information about the ffmpeg-cvslog mailing list