Commit aff88101 authored by Aurelien Jacobs's avatar Aurelien Jacobs

ffserver: use a local MAX_STREAMS limit

Originally committed as revision 25495 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9389b925
...@@ -92,6 +92,10 @@ static const char *http_state[] = { ...@@ -92,6 +92,10 @@ static const char *http_state[] = {
"RTSP_SEND_PACKET", "RTSP_SEND_PACKET",
}; };
#if !FF_API_MAX_STREAMS
#define MAX_STREAMS 20
#endif
#define IOBUFFER_INIT_SIZE 8192 #define IOBUFFER_INIT_SIZE 8192
/* timeouts are in ms */ /* timeouts are in ms */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment