changeset 9827:d179dbc45935

Little fix.
author albeu
date Fri, 04 Apr 2003 15:41:47 +0000
parents 99b9b8eeecaf
children c5fd755db576
files libmpdemux/stream_file.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/stream_file.c	Fri Apr 04 15:41:00 2003 +0000
+++ b/libmpdemux/stream_file.c	Fri Apr 04 15:41:47 2003 +0000
@@ -95,7 +95,7 @@
     if(f<0) {
       mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_FileNotFound,p->filename);
       m_struct_free(&stream_opts,opts);
-      return -1;
+      return STREAM_ERROR;
     }
   }