Commit 3852c29f authored by Peter Ross's avatar Peter Ross Committed by Michael Niedermayer

fix whitespace nits

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 49baf44c
...@@ -97,7 +97,7 @@ typedef struct { ...@@ -97,7 +97,7 @@ typedef struct {
const uint8_t *header; const uint8_t *header;
int header_size; int header_size;
WTVHeaderWriteFunc *write_header; WTVHeaderWriteFunc *write_header;
}WTVRootEntryTable; } WTVRootEntryTable;
static int write_pad(AVIOContext *pb, int size) static int write_pad(AVIOContext *pb, int size)
{ {
...@@ -579,7 +579,7 @@ static void write_table_entries_attrib(AVFormatContext *s) ...@@ -579,7 +579,7 @@ static void write_table_entries_attrib(AVFormatContext *s)
//FIXME: translate special tags (e.g. WM/Bitrate) to binary representation //FIXME: translate special tags (e.g. WM/Bitrate) to binary representation
ff_metadata_conv(&s->metadata, ff_asf_metadata_conv, NULL); ff_metadata_conv(&s->metadata, ff_asf_metadata_conv, NULL);
while((tag = av_dict_get(s->metadata, "", tag, AV_DICT_IGNORE_SUFFIX))) while ((tag = av_dict_get(s->metadata, "", tag, AV_DICT_IGNORE_SUFFIX)))
write_tag(s->pb, tag->key, tag->value); write_tag(s->pb, tag->key, tag->value);
} }
...@@ -590,7 +590,7 @@ static void write_table_redirector_legacy_attrib(AVFormatContext *s) ...@@ -590,7 +590,7 @@ static void write_table_redirector_legacy_attrib(AVFormatContext *s)
int64_t pos = 0; int64_t pos = 0;
//FIXME: translate special tags to binary representation //FIXME: translate special tags to binary representation
while((tag = av_dict_get(s->metadata, "", tag, AV_DICT_IGNORE_SUFFIX))) { while ((tag = av_dict_get(s->metadata, "", tag, AV_DICT_IGNORE_SUFFIX))) {
avio_wl64(pb, pos); avio_wl64(pb, pos);
pos += 16 + 4 + 4 + strlen(tag->key)*2 + 2 + strlen(tag->value)*2 + 2; pos += 16 + 4 + 4 + strlen(tag->key)*2 + 2 + strlen(tag->value)*2 + 2;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment