[FFmpeg-cvslog] r25021 - trunk/libavformat/vorbiscomment.c

bcoudurier subversion
Thu Sep 2 00:58:39 CEST 2010


Author: bcoudurier
Date: Thu Sep  2 00:58:39 2010
New Revision: 25021

Log:
cosmetics: spaces between and after parentheses

Modified:
   trunk/libavformat/vorbiscomment.c

Modified: trunk/libavformat/vorbiscomment.c
==============================================================================
--- trunk/libavformat/vorbiscomment.c	Wed Sep  1 23:10:19 2010	(r25020)
+++ trunk/libavformat/vorbiscomment.c	Thu Sep  2 00:58:39 2010	(r25021)
@@ -43,7 +43,7 @@ int ff_vorbiscomment_length(AVMetadata *
     *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, 
     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);



More information about the ffmpeg-cvslog mailing list