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
dd7a68b6
Commit
dd7a68b6
authored
Jun 26, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove start_time guessing code.
Originally committed as revision 13988 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3041a4a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
oggdec.c
libavformat/oggdec.c
+0
-10
No files found.
libavformat/oggdec.c
View file @
dd7a68b6
...
...
@@ -468,16 +468,6 @@ ogg_get_length (AVFormatContext * s)
ogg
->
size
=
size
;
ogg_restore
(
s
,
0
);
ogg_save
(
s
);
while
(
!
ogg_read_page
(
s
,
&
i
))
{
if
(
i
==
idx
&&
ogg
->
streams
[
i
].
granule
!=
-
1
&&
ogg
->
streams
[
i
].
granule
!=
0
)
break
;
}
if
(
i
==
idx
)
{
s
->
streams
[
idx
]
->
start_time
=
ogg_gptopts
(
s
,
idx
,
ogg
->
streams
[
idx
].
granule
);
s
->
streams
[
idx
]
->
duration
-=
s
->
streams
[
idx
]
->
start_time
;
}
ogg_restore
(
s
,
0
);
return
0
;
}
...
...
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