From aff8810172f35e1a4e5d1aa180591760add2b6e6 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Fri, 15 Oct 2010 19:09:54 +0000 Subject: ffserver: use a local MAX_STREAMS limit Originally committed as revision 25495 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ffserver.c') diff --git a/ffserver.c b/ffserver.c index 4693cc7b3c..63bd2677b2 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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 */ -- cgit v1.2.3