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
f9a35124
Commit
f9a35124
authored
Dec 06, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing pipe seek bug
Originally committed as revision 3730 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e7ddb0cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
file.c
libavformat/file.c
+1
-0
utils.c
libavformat/utils.c
+1
-1
No files found.
libavformat/file.c
View file @
f9a35124
...
...
@@ -107,6 +107,7 @@ static int pipe_open(URLContext *h, const char *filename, int flags)
setmode
(
fd
,
O_BINARY
);
#endif
h
->
priv_data
=
(
void
*
)(
size_t
)
fd
;
h
->
is_streamed
=
1
;
return
0
;
}
...
...
libavformat/utils.c
View file @
f9a35124
...
...
@@ -1617,7 +1617,7 @@ static void av_estimate_timings(AVFormatContext *ic)
}
ic
->
file_size
=
file_size
;
if
(
ic
->
iformat
==
&
mpegps_demux
)
{
if
(
ic
->
iformat
==
&
mpegps_demux
&&
file_size
&&
!
ic
->
pb
.
is_streamed
)
{
/* get accurate estimate from the PTSes */
av_estimate_timings_from_pts
(
ic
);
}
else
if
(
av_has_timings
(
ic
))
{
...
...
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