]> git.sesse.net Git - vlc/blobdiff - modules/access/fake.c
Delete unneeded instruction from a loop
[vlc] / modules / access / fake.c
index b4a2cb1c20a21481efe79bf2b6ca59db7f5a7351..93ae8516837152710ec2b0b2077a7366d9ba6613 100644 (file)
  * Preamble
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_access.h>
 #include <vlc_demux.h>
@@ -142,6 +146,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_CAN_CONTROL_PACE:
             pb = (vlc_bool_t *)va_arg( args, vlc_bool_t * );
             *pb = VLC_TRUE;