]> granicus.if.org Git - handbrake/commitdiff
CLI: Don't barf on OS X when someone gives a proper BSD path to begin with. (Thanks...
authorjbrjake <jb.rubin@gmail.com>
Mon, 27 Oct 2008 23:08:52 +0000 (23:08 +0000)
committerjbrjake <jb.rubin@gmail.com>
Mon, 27 Oct 2008 23:08:52 +0000 (23:08 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1873 b64f7644-9d1e-0410-96f1-a4d463321fa5

test/test.c

index 0c484163cfc32b948b0d33d79bc8be647bc04391..d08313c52f9cd041f83ffbd59847f2e2b9f8a6b1 100644 (file)
@@ -1845,7 +1845,7 @@ static int ParseOptions( int argc, char ** argv )
                 char *devName = bsd_name_for_path( input );
                 if( devName == NULL )
                 {
-                    return 0;
+                    break;
                 }
                 if( device_is_dvd( devName ) )
                 {