[rtmpdump] r254 - trunk/rtmpsuck.c
hyc
subversion at mplayerhq.hu
Tue Feb 16 06:34:15 CET 2010
Author: hyc
Date: Tue Feb 16 06:34:14 2010
New Revision: 254
Log:
Don't advance to next file if playlist has only one file
Modified:
trunk/rtmpsuck.c
Modified: trunk/rtmpsuck.c
==============================================================================
--- trunk/rtmpsuck.c Tue Feb 16 03:10:35 2010 (r253)
+++ trunk/rtmpsuck.c Tue Feb 16 06:34:14 2010 (r254)
@@ -406,7 +406,10 @@ ServeInvoke(STREAMING_SERVER *server, in
{
/* set up the next stream */
if (server->f_cur)
- server->f_cur = server->f_cur->f_next;
+ {
+ if (server->f_cur->f_next)
+ server->f_cur = server->f_cur->f_next;
+ }
else
{
for (server->f_cur = server->f_head; server->f_cur &&
More information about the rtmpdump
mailing list