OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6cb49b
)
Drop some more useless braces around if/for constructs.
author
Diego Biurrun
<diego@biurrun.de>
Sat, 15 Aug 2009 11:32:11 +0000
(11:32 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Sat, 15 Aug 2009 11:32:11 +0000
(11:32 +0000)
Originally committed as revision 19651 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/libdiracenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/libdiracenc.c
b/libavcodec/libdiracenc.c
index
0cffc04
..
a1d7eb3
100644
(file)
--- a/
libavcodec/libdiracenc.c
+++ b/
libavcodec/libdiracenc.c
@@
-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;
}