[Ffmpeg-devel] execl should be terminated with null _pointer_

Jacob Meuser jakemsr
Mon May 9 12:28:04 CEST 2005


subj says all

-- 
<jakemsr at jakemsr.com>
-------------- next part --------------
Index: vhook/ppm.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/vhook/ppm.c,v
retrieving revision 1.4
diff -u -r1.4 ppm.c
--- vhook/ppm.c	24 Feb 2005 22:07:10 -0000	1.4
+++ vhook/ppm.c	9 May 2005 09:12:06 -0000
@@ -75,7 +75,7 @@
             close( output[ 0 ] );
             close( output[ 1 ] );
 
-            execl("/bin/sh", "sh", "-c", command, NULL );
+            execl("/bin/sh", "sh", "-c", command, (void *)NULL );
             exit( 255 );
         }
         else



More information about the ffmpeg-devel mailing list