changeset 10059:c6ace59701ce libavcodec

Drop some more useless braces around if/for constructs.
author diego
date Sat, 15 Aug 2009 11:32:11 +0000
parents d18468c5fee0
children 965220ebc611
files libdiracenc.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libdiracenc.c	Sat Aug 15 11:31:42 2009 +0000
+++ b/libdiracenc.c	Sat Aug 15 11:32:11 2009 +0000
@@ -80,11 +80,9 @@
                       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;
 }