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
b61e596a
Commit
b61e596a
authored
Apr 03, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asf: remove duplicated index_guid
Found-by:ramiro Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
cfd64eec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
asfdec.c
libavformat/asfdec.c
+2
-6
No files found.
libavformat/asfdec.c
View file @
b61e596a
...
...
@@ -81,10 +81,6 @@ typedef struct {
#define FRAME_HEADER_SIZE 17
// Fix Me! FRAME_HEADER_SIZE may be different.
static
const
ff_asf_guid
index_guid
=
{
0x90
,
0x08
,
0x00
,
0x33
,
0xb1
,
0xe5
,
0xcf
,
0x11
,
0x89
,
0xf4
,
0x00
,
0xa0
,
0xc9
,
0x03
,
0x49
,
0xcb
};
#ifdef DEBUG
static
const
ff_asf_guid
stream_bitrate_guid
=
{
/* (http://get.to/sdp) */
0xce
,
0x75
,
0xf8
,
0x7b
,
0x8d
,
0x46
,
0xd1
,
0x11
,
0x8d
,
0x82
,
0x00
,
0x60
,
0x97
,
0xc9
,
0xa2
,
0xb2
...
...
@@ -109,7 +105,7 @@ static void print_guid(const ff_asf_guid *g)
else
PRINT_IF_GUID
(
g
,
ff_asf_codec_comment_header
);
else
PRINT_IF_GUID
(
g
,
ff_asf_codec_comment1_header
);
else
PRINT_IF_GUID
(
g
,
ff_asf_data_header
);
else
PRINT_IF_GUID
(
g
,
index_guid
);
else
PRINT_IF_GUID
(
g
,
ff_asf_simple_index_header
);
else
PRINT_IF_GUID
(
g
,
ff_asf_head1_guid
);
else
PRINT_IF_GUID
(
g
,
ff_asf_head2_guid
);
else
PRINT_IF_GUID
(
g
,
ff_asf_my_guid
);
...
...
@@ -1215,7 +1211,7 @@ static void asf_build_simple_index(AVFormatContext *s, int stream_index)
/* the data object can be followed by other top-level objects,
skip them until the simple index object is reached */
while
(
ff_guidcmp
(
&
g
,
&
index_guid
))
{
while
(
ff_guidcmp
(
&
g
,
&
ff_asf_simple_index_header
))
{
int64_t
gsize
=
avio_rl64
(
s
->
pb
);
if
(
gsize
<
24
||
url_feof
(
s
->
pb
))
{
avio_seek
(
s
->
pb
,
current_pos
,
SEEK_SET
);
...
...
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