Replace valid use of exit by _exit, patch by Víctor Paesa, wzrlpy arsystel com.
authorVíctor Paesa <wzrlpy@arsystel.com>
Sun, 1 Apr 2007 17:20:23 +0000 (17:20 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 1 Apr 2007 17:20:23 +0000 (17:20 +0000)
Originally committed as revision 8591 to svn://svn.ffmpeg.org/ffmpeg/trunk

vhook/ppm.c

index 51badd5..4b3a17f 100644 (file)
@@ -81,7 +81,7 @@ static rwpipe *rwpipe_open( int argc, char *argv[] )
             close( output[ 1 ] );
 
             execl("/bin/sh", "sh", "-c", command, (char*)NULL );
-            exit( 255 );
+            _exit( 255 );
         }
         else
         {