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:
parent
e6cb49bfa9
commit
c64380009d
1 changed files with 2 additions and 4 deletions
|
|
@ -80,11 +80,9 @@ static dirac_chroma_t GetDiracChromaFormat(enum PixelFormat ff_pix_fmt)
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue