aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/asf.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-22 11:04:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-22 11:04:55 +0000
commit4e15cc8ba3246935c1788bc2579a0ace0e8840ab (patch)
tree9590424e4dbd401aa42a0e987bbd5a9989b37c49 /libavformat/asf.c
parentd045b8c14bb4d7f7af8c2c76c44c968284400cf5 (diff)
downloadffmpeg-4e15cc8ba3246935c1788bc2579a0ace0e8840ab.tar.gz
cosmetics (aligne stuff nicely)
Originally committed as revision 7645 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r--libavformat/asf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c
index 7cf31228ce..161aa58039 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -326,10 +326,10 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
len3 = get_le16(pb);
len4 = get_le16(pb);
len5 = get_le16(pb);
- get_str16_nolen(pb, len1, s->title, sizeof(s->title));
- get_str16_nolen(pb, len2, s->author, sizeof(s->author));
+ get_str16_nolen(pb, len1, s->title , sizeof(s->title));
+ get_str16_nolen(pb, len2, s->author , sizeof(s->author));
get_str16_nolen(pb, len3, s->copyright, sizeof(s->copyright));
- get_str16_nolen(pb, len4, s->comment, sizeof(s->comment));
+ get_str16_nolen(pb, len4, s->comment , sizeof(s->comment));
url_fskip(pb, len5);
} else if (!memcmp(&g, &extended_content_header, sizeof(GUID))) {
int desc_count, i;
@@ -356,8 +356,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
if (value_type==3) value_num = get_le32(pb);
if (value_type==4) value_num = get_le64(pb);
if (value_type==5) value_num = get_le16(pb);
- if (strcmp(name,"WM/Track")==0) s->track = value_num + 1;
- if (strcmp(name,"WM/TrackNumber")==0) s->track = value_num;
+ if (!strcmp(name,"WM/Track" )) s->track = value_num + 1;
+ if (!strcmp(name,"WM/TrackNumber")) s->track = value_num;
}
}
} else if (!memcmp(&g, &ext_stream_header, sizeof(GUID))) {