Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
2934cd9d
Commit
2934cd9d
authored
Jan 23, 2011
by
Anton Khirnov
Committed by
Janne Grunau
Jan 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asfdec: remove some commented-out cruft
Signed-off-by:
Janne Grunau
<
janne-ffmpeg@jannau.net
>
parent
93b78d12
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
43 deletions
+0
-43
asfdec.c
libavformat/asfdec.c
+0
-43
No files found.
libavformat/asfdec.c
View file @
2934cd9d
...
@@ -103,24 +103,6 @@ void ff_get_guid(ByteIOContext *s, ff_asf_guid *g)
...
@@ -103,24 +103,6 @@ void ff_get_guid(ByteIOContext *s, ff_asf_guid *g)
get_buffer
(
s
,
*
g
,
sizeof
(
*
g
));
get_buffer
(
s
,
*
g
,
sizeof
(
*
g
));
}
}
#if 0
static void get_str16(ByteIOContext *pb, char *buf, int buf_size)
{
int len, c;
char *q;
len = get_le16(pb);
q = buf;
while (len > 0) {
c = get_le16(pb);
if ((q - buf) < buf_size - 1)
*q++ = c;
len--;
}
*q = '\0';
}
#endif
static
int
asf_probe
(
AVProbeData
*
pd
)
static
int
asf_probe
(
AVProbeData
*
pd
)
{
{
/* check file header */
/* check file header */
...
@@ -567,31 +549,6 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
...
@@ -567,31 +549,6 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
url_fskip
(
pb
,
name_len
-
ret
);
url_fskip
(
pb
,
name_len
-
ret
);
ff_new_chapter
(
s
,
i
,
(
AVRational
){
1
,
10000000
},
pres_time
,
AV_NOPTS_VALUE
,
name
);
ff_new_chapter
(
s
,
i
,
(
AVRational
){
1
,
10000000
},
pres_time
,
AV_NOPTS_VALUE
,
name
);
}
}
#if 0
} else if (!ff_guidcmp(&g, &ff_asf_codec_comment_header)) {
int len, v1, n, num;
char str[256], *q;
char tag[16];
ff_get_guid(pb, &g);
print_guid(&g);
n = get_le32(pb);
for(i=0;i<n;i++) {
num = get_le16(pb); /* stream number */
get_str16(pb, str, sizeof(str));
get_str16(pb, str, sizeof(str));
len = get_le16(pb);
q = tag;
while (len > 0) {
v1 = get_byte(pb);
if ((q - tag) < sizeof(tag) - 1)
*q++ = v1;
len--;
}
*q = '\0';
}
#endif
}
else
if
(
url_feof
(
pb
))
{
}
else
if
(
url_feof
(
pb
))
{
return
-
1
;
return
-
1
;
}
else
{
}
else
{
...
...
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