projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5164f5
)
y4minput.c: correct empty loop formatting
author
James Zern
<jzern@google.com>
Wed, 20 Jul 2016 03:46:39 +0000
(20:46 -0700)
committer
James Zern
<jzern@google.com>
Wed, 20 Jul 2016 03:46:39 +0000
(20:46 -0700)
prefer {}s over ';'
Change-Id: I563fc82717e1deb4f42a40e03dca318c6adaa0c1
y4minput.c
patch
|
blob
|
history
diff --git
a/y4minput.c
b/y4minput.c
index
f845d21
..
7de859f
100644
(file)
--- a/
y4minput.c
+++ b/
y4minput.c
@@
-66,8
+66,8
@@
static int y4m_parse_tags(y4m_input *_y4m, char *_tags) {
/*If that's all we have, stop.*/
if (p[0] == '\0') break;
/*Find the end of this tag.*/
- for (q = p + 1; *q != '\0' && *q != ' '; q++)
- ;
+ for (q = p + 1; *q != '\0' && *q != ' '; q++)
{
+ }
/*Process the tag.*/
switch (p[0]) {
case 'W': {