y4minput.c: correct empty loop formatting

prefer {}s over ';'

Change-Id: I563fc82717e1deb4f42a40e03dca318c6adaa0c1
This commit is contained in:
James Zern 2016-07-19 20:46:39 -07:00
parent b5164f55a0
commit 1b048e966a

View File

@ -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': {