[FFmpeg-cvslog] r25495 - trunk/ffserver.c

aurel subversion
Fri Oct 15 21:09:54 CEST 2010


Author: aurel
Date: Fri Oct 15 21:09:54 2010
New Revision: 25495

Log:
ffserver: use a local MAX_STREAMS limit

Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	Fri Oct 15 21:09:05 2010	(r25494)
+++ trunk/ffserver.c	Fri Oct 15 21:09:54 2010	(r25495)
@@ -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 */



More information about the ffmpeg-cvslog mailing list