]> git.sesse.net Git - vlc/blobdiff - plugins/mpeg/input_es.c
* Coding style fixes here and there.
[vlc] / plugins / mpeg / input_es.c
index e971328350b00e3dc8eed7270fc7855f1fd5c423..c3d3341d14aa0dab1051c459d0fa9b69e2ba0ca9 100644 (file)
@@ -2,7 +2,7 @@
  * input_es.c: Elementary Stream demux and packet management
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: input_es.c,v 1.1 2001/04/20 15:02:48 sam Exp $
+ * $Id: input_es.c,v 1.2 2001/04/28 03:36:25 sam Exp $
  *
  * Authors: 
  *
@@ -213,7 +213,11 @@ static void ESSeek( input_thread_t * p_input, off_t i_position )
     p_method = (thread_es_data_t *)p_input->p_plugin_data;
 
     /* A little bourrin but should work for a while --Meuuh */
+#ifndef WIN32
     fseeko( p_method->stream, i_position, SEEK_SET );
+#else
+    fseek( p_method->stream, (long)i_position, SEEK_SET );
+#endif
 
     p_input->stream.p_selected_area->i_tell = i_position;
 }