Drop some more useless braces around if/for constructs.

Originally committed as revision 19651 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-08-15 11:32:11 +00:00
parent e6cb49bfa9
commit c64380009d

View File

@ -80,11 +80,9 @@ static dirac_chroma_t GetDiracChromaFormat(enum PixelFormat ff_pix_fmt)
sizeof(ffmpeg_dirac_pixel_format_map[0]); sizeof(ffmpeg_dirac_pixel_format_map[0]);
int idx; int idx;
for (idx = 0; idx < num_formats; ++idx) { for (idx = 0; idx < num_formats; ++idx)
if (ffmpeg_dirac_pixel_format_map[idx].ff_pix_fmt == ff_pix_fmt) { if (ffmpeg_dirac_pixel_format_map[idx].ff_pix_fmt == ff_pix_fmt)
return ffmpeg_dirac_pixel_format_map[idx].dirac_pix_fmt; return ffmpeg_dirac_pixel_format_map[idx].dirac_pix_fmt;
}
}
return formatNK; return formatNK;
} }