diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-09-01 22:58:39 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-09-01 22:58:39 +0000 |
commit | e66f8a5389e4ce6c678b2aeb1198d58521eaee4d (patch) | |
tree | 5bf790d62a9c1957ee9009d6af9fa7c758961258 /libavformat | |
parent | 615da9b1d95f673fb7185669f2551765b9f4fde6 (diff) | |
download | ffmpeg-e66f8a5389e4ce6c678b2aeb1198d58521eaee4d.tar.gz |
cosmetics: spaces between and after parentheses
Originally committed as revision 25021 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/vorbiscomment.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/vorbiscomment.c b/libavformat/vorbiscomment.c index d23c66d7f0..3434d82829 100644 --- a/libavformat/vorbiscomment.c +++ b/libavformat/vorbiscomment.c @@ -43,7 +43,7 @@ int ff_vorbiscomment_length(AVMetadata *m, const char *vendor_string, *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 @@ int ff_vorbiscomment_write(uint8_t **p, AVMetadata *m, 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); |