]> git.sesse.net Git - vlc/blobdiff - modules/access/dc1394.c
Fix Windows case which implements fd_set differently:
[vlc] / modules / access / dc1394.c
index 85be3d1a59e001e9b4455ce8da00e582071f406e..6cde55e46064d6772afb60bc2e1bbdc48d44b244 100644 (file)
@@ -8,7 +8,7 @@
  *****************************************************************************
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; 
+ * License as published by the Free Software Foundation;
  * version 2 of the License.
  *
  * This library is distributed in the hope that it will be useful,
@@ -31,9 +31,6 @@
 #include <vlc_vout.h>
 #include <vlc_demux.h>
 
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
 
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
@@ -575,7 +572,7 @@ static void OpenAudioDev( demux_t *p_demux )
         CloseAudioDev( p_demux );
     }
 
-    msg_Dbg( p_demux, "openened adev=`%s' %s %dHz",
+    msg_Dbg( p_demux, "opened adev=`%s' %s %dHz",
              psz_device,
              (p_sys->channels > 1) ? "stereo" : "mono",
              p_sys->i_sample_rate );
@@ -805,6 +802,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
     {
         /* Special for access_demux */
         case DEMUX_CAN_PAUSE:
+        case DEMUX_CAN_SEEK:
         case DEMUX_SET_PAUSE_STATE:
         case DEMUX_CAN_CONTROL_PACE:
             pb = (vlc_bool_t*)va_arg( args, vlc_bool_t * );
@@ -831,7 +829,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
 static int process_options( demux_t *p_demux )
 {
     demux_sys_t *p_sys = p_demux->p_sys;
-    char *psz_dup; 
+    char *psz_dup;
     char *psz_parser;
     char *token = NULL;
     char *state = NULL;