[FFmpeg-cvslog] r18109 - trunk/ffserver.c
bcoudurier
subversion
Sat Mar 21 11:32:43 CET 2009
Author: bcoudurier
Date: Sat Mar 21 11:32:43 2009
New Revision: 18109
Log:
check if feed max file size is too small
Modified:
trunk/ffserver.c
Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c Sat Mar 21 11:29:37 2009 (r18108)
+++ trunk/ffserver.c Sat Mar 21 11:32:43 2009 (r18109)
@@ -3987,6 +3987,11 @@ static int parse_ffconfig(const char *fi
break;
}
feed->feed_max_size = (int64_t)fsize;
+ if (feed->feed_max_size < FFM_PACKET_SIZE*4) {
+ fprintf(stderr, "%s:%d: Feed max file size is too small, "
+ "must be at least %d\n", filename, line_num, FFM_PACKET_SIZE*4);
+ errors++;
+ }
}
} else if (!strcasecmp(cmd, "</Feed>")) {
if (!feed) {
More information about the ffmpeg-cvslog
mailing list