ffserver: use a local MAX_STREAMS limit

Originally committed as revision 25495 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2010-10-15 19:09:54 +00:00
parent 9389b925f1
commit aff8810172
1 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,10 @@ static const char *http_state[] = {
"RTSP_SEND_PACKET",
};
#if !FF_API_MAX_STREAMS
#define MAX_STREAMS 20
#endif
#define IOBUFFER_INIT_SIZE 8192
/* timeouts are in ms */