[Ffmpeg-cvslog] CVS: ffmpeg ffserver.c,1.97,1.98

Alex Beregszaszi alex
Sun Nov 13 02:45:15 CET 2005


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv4404

Modified Files:
	ffserver.c 
Log Message:
Make Launch more appropriate with support for full paths for the ffmpeg binary

Index: ffserver.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/ffserver.c,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- ffserver.c	13 Nov 2005 01:41:01 -0000	1.97
+++ ffserver.c	13 Nov 2005 01:45:12 -0000	1.98
@@ -3852,10 +3852,7 @@
 
                 feed->child_argv = (char **) av_mallocz(64 * sizeof(char *));
 
-                feed->child_argv[0] = av_malloc(7);
-                strcpy(feed->child_argv[0], "ffmpeg");
-
-                for (i = 1; i < 62; i++) {
+                for (i = 0; i < 62; i++) {
                     char argbuf[256];
 
                     get_arg(argbuf, sizeof(argbuf), &p);





More information about the ffmpeg-cvslog mailing list