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
8408e1d7
Commit
8408e1d7
authored
Apr 20, 2011
by
Vladimir Pantelic
Committed by
Mans Rullgard
Apr 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asf: remove commented out code in asf_read_seek
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
a81ff195
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
asfdec.c
libavformat/asfdec.c
+0
-21
No files found.
libavformat/asfdec.c
View file @
8408e1d7
...
@@ -1270,27 +1270,6 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int
...
@@ -1270,27 +1270,6 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int
/* find the position */
/* find the position */
pos
=
st
->
index_entries
[
index
].
pos
;
pos
=
st
->
index_entries
[
index
].
pos
;
// various attempts to find key frame have failed so far
// asf_reset_header(s);
// avio_seek(s->pb, pos, SEEK_SET);
// key_pos = pos;
// for(i=0;i<16;i++){
// pos = avio_tell(s->pb);
// if (av_read_frame(s, &pkt) < 0){
// av_log(s, AV_LOG_INFO, "seek failed\n");
// return -1;
// }
// asf_st = s->streams[stream_index]->priv_data;
// pos += st->parser->frame_offset;
//
// if (pkt.size > b) {
// b = pkt.size;
// key_pos = pos;
// }
//
// av_free_packet(&pkt);
// }
/* do the seek */
/* do the seek */
av_log
(
s
,
AV_LOG_DEBUG
,
"SEEKTO: %"
PRId64
"
\n
"
,
pos
);
av_log
(
s
,
AV_LOG_DEBUG
,
"SEEKTO: %"
PRId64
"
\n
"
,
pos
);
avio_seek
(
s
->
pb
,
pos
,
SEEK_SET
);
avio_seek
(
s
->
pb
,
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