diff --git a/ffserver.c b/ffserver.c index 42025ab475..c74cd157aa 100644 --- a/ffserver.c +++ b/ffserver.c @@ -705,7 +705,7 @@ static void start_wait_request(HTTPContext *c, int is_rtsp) c->state = is_rtsp ? RTSPSTATE_WAIT_REQUEST : HTTPSTATE_WAIT_REQUEST; c->timeout = cur_time + - is_rtsp ? RTSP_REQUEST_TIMEOUT : HTTP_REQUEST_TIMEOUT; + (is_rtsp ? RTSP_REQUEST_TIMEOUT : HTTP_REQUEST_TIMEOUT); } static void http_send_too_busy_reply(int fd)