aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/wtvenc.c
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2011-11-05 16:09:10 +1100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-05 16:51:25 +0100
commit3852c29fd4acb0f13b3d48dc9ee8f24023c37bb2 (patch)
tree81c1fe15a4984d960b197f93bb4b61acebf9b24f /libavformat/wtvenc.c
parent49baf44c2459ee5f8b77d00858f629880ee2156c (diff)
downloadffmpeg-3852c29fd4acb0f13b3d48dc9ee8f24023c37bb2.tar.gz
fix whitespace nits
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/wtvenc.c')
-rw-r--r--libavformat/wtvenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/wtvenc.c b/libavformat/wtvenc.c
index b571833920..4aef9ae8fa 100644
--- a/libavformat/wtvenc.c
+++ b/libavformat/wtvenc.c
@@ -97,7 +97,7 @@ typedef struct {
const uint8_t *header;
int header_size;
WTVHeaderWriteFunc *write_header;
-}WTVRootEntryTable;
+} WTVRootEntryTable;
static int write_pad(AVIOContext *pb, int size)
{
@@ -218,7 +218,7 @@ static int write_stream_codec_info(AVFormatContext *s, AVStream *st)
g = get_codec_guid(st->codec->codec_id, ff_codec_wav_guids);
media_type = &ff_mediatype_audio;
format_type = &ff_format_waveformatex;
- } else {
+ } else {
av_log(s, AV_LOG_ERROR, "unknown codec_type (0x%x)\n", st->codec->codec_type);
return -1;
}
@@ -579,7 +579,7 @@ static void write_table_entries_attrib(AVFormatContext *s)
//FIXME: translate special tags (e.g. WM/Bitrate) to binary representation
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);
}
@@ -590,7 +590,7 @@ static void write_table_redirector_legacy_attrib(AVFormatContext *s)
int64_t pos = 0;
//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);
pos += 16 + 4 + 4 + strlen(tag->key)*2 + 2 + strlen(tag->value)*2 + 2;
}