summaryrefslogtreecommitdiff
path: root/y4minput.c
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2016-07-19 20:46:39 -0700
committerJames Zern <jzern@google.com>2016-07-19 20:46:39 -0700
commit1b048e966aed5362b814f4f5e1729abe62159d71 (patch)
treed6bfb2de904fc2086fea656c843de71b338f0216 /y4minput.c
parentb5164f55a016b32d15356f9db0dc181672a208b2 (diff)
downloadlibvpx-1b048e966aed5362b814f4f5e1729abe62159d71.tar
libvpx-1b048e966aed5362b814f4f5e1729abe62159d71.tar.gz
libvpx-1b048e966aed5362b814f4f5e1729abe62159d71.tar.bz2
libvpx-1b048e966aed5362b814f4f5e1729abe62159d71.zip
y4minput.c: correct empty loop formatting
prefer {}s over ';' Change-Id: I563fc82717e1deb4f42a40e03dca318c6adaa0c1
Diffstat (limited to 'y4minput.c')
-rw-r--r--y4minput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/y4minput.c b/y4minput.c
index f845d2151..7de859f7a 100644
--- 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': {