]> git.sesse.net Git - vlc/commitdiff
* modules/access/dvdread/input.c, modules/control/rc/rc.c: fixed typos.
authorGildas Bazin <gbazin@videolan.org>
Thu, 23 Jan 2003 10:25:40 +0000 (10:25 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 23 Jan 2003 10:25:40 +0000 (10:25 +0000)
modules/access/dvdread/input.c
modules/control/rc/rc.c

index cc8694387997f0fa99a7e17789076a137949a94a..03b95bab23cd3d6d13a27b700969560aa5ba0556 100644 (file)
@@ -6,7 +6,7 @@
  * It depends on: libdvdread for ifo files and block reading.
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: input.c,v 1.12 2003/01/23 09:58:02 sam Exp $
+ * $Id: input.c,v 1.13 2003/01/23 10:25:40 gbazin Exp $
  *
  * Author: Stéphane Borel <stef@via.ecp.fr>
  *
@@ -125,7 +125,7 @@ int E_(InitDVD) ( vlc_object_t *p_this )
     if( p_demux->p_module == NULL )
     {
         free( p_input->p_demux_data );
-        return VLC_EMODULE;
+        return VLC_ENOMOD;
     }
 
     p_input->pf_demux = DvdReadDemux;
index a66c8c8871bb5976e1cc42a9714c38b272663baa..7ea37310d0c006d38182f6b12f35b938f495eec7 100644 (file)
@@ -2,7 +2,7 @@
  * rc.c : remote control stdin/stdout plugin for vlc
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: rc.c,v 1.22 2003/01/23 09:53:55 gbazin Exp $
+ * $Id: rc.c,v 1.23 2003/01/23 10:25:40 gbazin Exp $
  *
  * Authors: Peter Surda <shurdeek@panorama.sth.ac.at>
  *
@@ -217,7 +217,7 @@ static void Run( intf_thread_t *p_intf )
         tv.tv_sec = 0;
         tv.tv_usec = 50000;
         FD_ZERO( &fds );
-        FD_SET( descr_stdin, &fds );
+        FD_SET( STDIN_FILENO, &fds );
 
         i_dummy = select( STDIN_FILENO + 1, &fds, NULL, NULL, &tv );
         if( i_dummy > 0 )