cosmetics: spaces between and after parentheses
Originally committed as revision 25021 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
615da9b1d9
commit
e66f8a5389
@ -43,7 +43,7 @@ int ff_vorbiscomment_length(AVMetadata *m, const char *vendor_string,
|
|||||||
*count = 0;
|
*count = 0;
|
||||||
if (m) {
|
if (m) {
|
||||||
AVMetadataTag *tag = NULL;
|
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);
|
len += 4 +strlen(tag->key) + 1 + strlen(tag->value);
|
||||||
(*count)++;
|
(*count)++;
|
||||||
}
|
}
|
||||||
@ -59,7 +59,7 @@ int ff_vorbiscomment_write(uint8_t **p, AVMetadata *m,
|
|||||||
if (m) {
|
if (m) {
|
||||||
AVMetadataTag *tag = NULL;
|
AVMetadataTag *tag = NULL;
|
||||||
bytestream_put_le32(p, count);
|
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 len1 = strlen(tag->key);
|
||||||
unsigned int len2 = strlen(tag->value);
|
unsigned int len2 = strlen(tag->value);
|
||||||
bytestream_put_le32(p, len1+1+len2);
|
bytestream_put_le32(p, len1+1+len2);
|
||||||
|
Loading…
Reference in New Issue
Block a user