Author: fejj
Date: 2008-01-23 11:59:03 -0500 (Wed, 23 Jan 2008)
New Revision: 93673

Modified:
   trunk/moon/src/pipeline.cpp
Log:
minor fix for an unlikely case

Modified: trunk/moon/src/pipeline.cpp
===================================================================
--- trunk/moon/src/pipeline.cpp 2008-01-23 16:57:54 UTC (rev 93672)
+++ trunk/moon/src/pipeline.cpp 2008-01-23 16:59:03 UTC (rev 93673)
@@ -1737,6 +1737,9 @@
        if (fd != -1)
                return MEDIA_SUCCESS;
        
+       if (filename == NULL)
+               return MEDIA_FILE_ERROR;
+       
        if ((fd = open (filename, O_LARGEFILE | O_RDONLY)) == -1)
                return MEDIA_FILE_ERROR;
        

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to