git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9389b92
)
ffserver: use a local MAX_STREAMS limit
author
Aurelien Jacobs
<aurel@gnuage.org>
Fri, 15 Oct 2010 19:09:54 +0000
(19:09 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Fri, 15 Oct 2010 19:09:54 +0000
(19:09 +0000)
Originally committed as revision 25495 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffserver.c
patch
|
blob
|
history
diff --git
a/ffserver.c
b/ffserver.c
index
4693cc7
..
63bd267
100644
(file)
--- a/
ffserver.c
+++ b/
ffserver.c
@@
-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
/* timeouts are in ms */
#define IOBUFFER_INIT_SIZE 8192
/* timeouts are in ms */