Browse code

cosmetics: spaces between and after parentheses

Originally committed as revision 25021 to svn://svn.ffmpeg.org/ffmpeg/trunk

Baptiste Coudurier authored on 2010/09/02 07:58:39
Showing 1 changed files
... ...
@@ -43,7 +43,7 @@ int ff_vorbiscomment_length(AVMetadata *m, const char *vendor_string,
43 43
     *count = 0;
44 44
     if (m) {
45 45
         AVMetadataTag *tag = NULL;
46
-        while ( (tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX) ) ) {
46
+        while ((tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX))) {
47 47
             len += 4 +strlen(tag->key) + 1 + strlen(tag->value);
48 48
             (*count)++;
49 49
         }
... ...
@@ -59,7 +59,7 @@ int ff_vorbiscomment_write(uint8_t **p, AVMetadata *m,
59 59
     if (m) {
60 60
         AVMetadataTag *tag = NULL;
61 61
         bytestream_put_le32(p, count);
62
-        while ( (tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX) ) ) {
62
+        while ((tag = av_metadata_get(m, "", tag, AV_METADATA_IGNORE_SUFFIX))) {
63 63
             unsigned int len1 = strlen(tag->key);
64 64
             unsigned int len2 = strlen(tag->value);
65 65
             bytestream_put_le32(p, len1+1+len2);