Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
958d98cc
Commit
958d98cc
authored
Feb 08, 2014
by
Reynaldo H. Verdejo Pinochet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffserver: drop unneeded delay1 var
Signed-off-by:
Reynaldo H. Verdejo Pinochet
<
r.verdejo@sisa.samsung.com
>
parent
db93c2d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ffserver.c
ffserver.c
+4
-4
No files found.
ffserver.c
View file @
958d98cc
...
@@ -637,7 +637,7 @@ static void start_multicast(void)
...
@@ -637,7 +637,7 @@ static void start_multicast(void)
static
int
http_server
(
void
)
static
int
http_server
(
void
)
{
{
int
server_fd
=
0
,
rtsp_server_fd
=
0
;
int
server_fd
=
0
,
rtsp_server_fd
=
0
;
int
ret
,
delay
,
delay1
;
int
ret
,
delay
;
struct
pollfd
*
poll_table
,
*
poll_entry
;
struct
pollfd
*
poll_table
,
*
poll_entry
;
HTTPContext
*
c
,
*
c_next
;
HTTPContext
*
c
,
*
c_next
;
...
@@ -711,9 +711,9 @@ static int http_server(void)
...
@@ -711,9 +711,9 @@ static int http_server(void)
/* when ffserver is doing the timing, we work by
/* when ffserver is doing the timing, we work by
looking at which packet needs to be sent every
looking at which packet needs to be sent every
10 ms */
10 ms */
delay1
=
10
;
/* one tick wait XXX: 10 ms assumed */
/* one tick wait XXX: 10 ms assumed */
if
(
delay
1
<
delay
)
if
(
delay
>
10
)
delay
=
delay1
;
delay
=
10
;
}
}
break
;
break
;
case
HTTPSTATE_WAIT_REQUEST
:
case
HTTPSTATE_WAIT_REQUEST
:
...
...
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