Mercurial > libavformat.hg
changeset 6451:a8abcc0f32cf libavformat
cosmetics: spaces between and after parentheses
author | bcoudurier |
---|---|
date | Wed, 01 Sep 2010 22:58:39 +0000 |
parents | 341de8787590 |
children | c64b9d69a1ce |
files | vorbiscomment.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);