# HG changeset patch # User bcoudurier # Date 1283381919 0 # Node ID a8abcc0f32cf48ee30fe781f7c83aa7992fc544b # Parent 341de8787590a50ca08a20cfeec128b5efb3b882 cosmetics: spaces between and after parentheses diff -r 341de8787590 -r a8abcc0f32cf vorbiscomment.c --- a/vorbiscomment.c Wed Sep 01 00:04:47 2010 +0000 +++ b/vorbiscomment.c Wed Sep 01 22:58:39 2010 +0000 @@ -43,7 +43,7 @@ *count = 0; if (m) { AVMetadataTag *tag = NULL; - while ( (tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX) ) ) { + while ((tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX))) { len += 4 +strlen(tag->key) + 1 + strlen(tag->value); (*count)++; } @@ -59,7 +59,7 @@ if (m) { AVMetadataTag *tag = NULL; bytestream_put_le32(p, count); - while ( (tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX) ) ) { + while ((tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX))) { unsigned int len1 = strlen(tag->key); unsigned int len2 = strlen(tag->value); bytestream_put_le32(p, len1+1+len2);