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
baec6d8a
Commit
baec6d8a
authored
Mar 07, 2016
by
Lior Mualem
Committed by
Michael Niedermayer
Mar 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffserver: Fixed ffserver to support large ffm files
ffm_read_write_index returns a 64bit value, Github: Closes #185
parent
f2bdf9d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ffserver.c
ffserver.c
+5
-4
No files found.
ffserver.c
View file @
baec6d8a
...
...
@@ -2622,6 +2622,7 @@ static int http_start_receive_data(HTTPContext *c)
{
int
fd
;
int
ret
;
int64_t
ret64
;
if
(
c
->
stream
->
feed_opened
)
{
http_log
(
"Stream feed '%s' was not opened
\n
"
,
...
...
@@ -2657,13 +2658,13 @@ static int http_start_receive_data(HTTPContext *c)
return
ret
;
}
}
else
{
ret
=
ffm_read_write_index
(
fd
);
if
(
ret
<
0
)
{
ret
64
=
ffm_read_write_index
(
fd
);
if
(
ret
64
<
0
)
{
http_log
(
"Error reading write index from feed file '%s': %s
\n
"
,
c
->
stream
->
feed_filename
,
strerror
(
errno
));
return
ret
;
return
ret
64
;
}
c
->
stream
->
feed_write_index
=
ret
;
c
->
stream
->
feed_write_index
=
ret
64
;
}
c
->
stream
->
feed_write_index
=
FFMAX
(
ffm_read_write_index
(
fd
),
...
...
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