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
683f5735
Commit
683f5735
authored
Jun 21, 2015
by
Reynaldo H. Verdejo Pinochet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffserver: drop unneeded else branching
Signed-off-by:
Reynaldo H. Verdejo Pinochet
<
reynaldo@osg.samsung.com
>
parent
d8a04d91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
ffserver.c
ffserver.c
+4
-5
No files found.
ffserver.c
View file @
683f5735
...
...
@@ -2119,11 +2119,10 @@ static int64_t get_packet_send_clock(HTTPContext *c)
frame_bytes
=
c
->
cur_frame_bytes
;
if
(
frame_bytes
<=
0
)
return
c
->
cur_pts
;
else
{
bytes_left
=
c
->
buffer_end
-
c
->
buffer_ptr
;
bytes_sent
=
frame_bytes
-
bytes_left
;
return
c
->
cur_pts
+
(
c
->
cur_frame_duration
*
bytes_sent
)
/
frame_bytes
;
}
bytes_left
=
c
->
buffer_end
-
c
->
buffer_ptr
;
bytes_sent
=
frame_bytes
-
bytes_left
;
return
c
->
cur_pts
+
(
c
->
cur_frame_duration
*
bytes_sent
)
/
frame_bytes
;
}
...
...
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