Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
4e15cc8b
Commit
4e15cc8b
authored
Jan 22, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics (aligne stuff nicely)
Originally committed as revision 7645 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
d045b8c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
asf.c
libavformat/asf.c
+5
-5
No files found.
libavformat/asf.c
View file @
4e15cc8b
...
...
@@ -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
)))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment