diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-15 19:09:54 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-15 19:09:54 +0000 |
commit | aff8810172f35e1a4e5d1aa180591760add2b6e6 (patch) | |
tree | be10625522126ce491c4d1342090bb02b89b5faa /ffserver.c | |
parent | 9389b925f13160bb421fd69ebc9522477af77fdf (diff) | |
download | ffmpeg-aff8810172f35e1a4e5d1aa180591760add2b6e6.tar.gz |
ffserver: use a local MAX_STREAMS limit
Originally committed as revision 25495 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |