# HG changeset patch # User diego # Date 1250335931 0 # Node ID c6ace59701cefc04299ab6b83a927abcb0cff0ba # Parent d18468c5fee0db30729a9dafbfecd71ac49ba448 Drop some more useless braces around if/for constructs. diff -r d18468c5fee0 -r c6ace59701ce libdiracenc.c --- 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; }