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

bcoudurier subversion
Thu May 29 04:31:35 CEST 2008


Author: bcoudurier
Date: Thu May 29 04:31:35 2008
New Revision: 13524

Log:
check that redirect is set, fixes CID13 RUN2

Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	(original)
+++ trunk/ffserver.c	Thu May 29 04:31:35 2008
@@ -4274,13 +4274,14 @@ static int parse_ffconfig(const char *fi
                 fprintf(stderr, "%s:%d: No corresponding <Redirect> for </Redirect>\n",
                         filename, line_num);
                 errors++;
-            }
+            } else {
             if (!redirect->feed_filename[0]) {
                 fprintf(stderr, "%s:%d: No URL found for <Redirect>\n",
                         filename, line_num);
                 errors++;
             }
             redirect = NULL;
+            }
         } else if (!strcasecmp(cmd, "LoadModule")) {
             get_arg(arg, sizeof(arg), &p);
 #ifdef HAVE_DLOPEN




More information about the ffmpeg-cvslog mailing list