* variables.h: variables handling
*****************************************************************************
* Copyright (C) 2002 VideoLAN
- * $Id: variables.h,v 1.18 2003/10/29 01:33:27 gbazin Exp $
+ * $Id: variables.h,v 1.19 2003/12/02 12:57:35 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
* \param psz_name The name of the variable
* \param i The new time value of this variable
*/
-static inline int __var_SetTime( vlc_object_t *p_obj, const char *psz_name, signed long long i )
+static inline int __var_SetTime( vlc_object_t *p_obj, const char *psz_name, int64_t i )
{
vlc_value_t val;
val.i_time = i;
* vlc.h: global header for vlc
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: vlc.h,v 1.27 2003/09/20 19:37:53 hartman Exp $
+ * $Id: vlc.h,v 1.28 2003/12/02 12:57:35 gbazin Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
void * p_address;
vlc_object_t * p_object;
vlc_list_t * p_list;
+
+#if defined( WIN32 ) && !defined( __MINGW32__ )
+ signed __int64 i_time;
+# else
signed long long i_time;
+#endif
struct { char *psz_name; int i_object_id; } var;
* es_out.c: Es Out handler for input.
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: es_out.c,v 1.5 2003/11/30 17:29:56 fenrir Exp $
+ * $Id: es_out.c,v 1.6 2003/12/02 12:57:35 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
input_thread_t *p_input = p_sys->p_input;
es_out_id_t *es = malloc( sizeof( es_out_id_t ) );
pgrm_descriptor_t *p_prgm = NULL;
- char psz_cat[strlen( "Stream " ) + 10];
+ char psz_cat[sizeof( "Stream " ) + 10];
input_info_category_t *p_cat;
vlc_mutex_lock( &p_input->stream.stream_lock );
* decoders.
*****************************************************************************
* Copyright (C) 1998-2002 VideoLAN
- * $Id: input.c,v 1.269 2003/11/30 16:00:24 fenrir Exp $
+ * $Id: input.c,v 1.270 2003/12/02 12:57:35 gbazin Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
#include "vlc_interface.h"
#include "codecs.h"
-#include "modules/demux/util/sub.h"
+#include "../../modules/demux/util/sub.h"
/*****************************************************************************
* Local prototypes
subtitle_Demux( p_input->p_sys->sub[i], i_time );
}
- i_update_next = mdate() + 150000LL;
+ i_update_next = mdate() + I64C(150000);
}
}
* subtitles.c
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: subtitles.c,v 1.4 2003/10/11 22:40:05 hartman Exp $
+ * $Id: subtitles.c,v 1.5 2003/12/02 12:57:36 gbazin Exp $
*
* Authors: Derk-Jan Hartman <hartman at videolan.org>
* This is adapted code from the GPL'ed MPlayer (http://mplayerhq.hu)
#include <vlc/input.h>
#include "ninput.h"
-#include <dirent.h>
+
+#ifdef HAVE_DIRENT_H
+# include <dirent.h>
+#else
+# include "../extras/dirent.h"
+#endif
+
#include <ctype.h>
/**
* win32_specific.c: Win32 specific features
*****************************************************************************
* Copyright (C) 2001 VideoLAN
- * $Id: win32_specific.c,v 1.26 2003/10/03 13:35:56 sam Exp $
+ * $Id: win32_specific.c,v 1.27 2003/12/02 12:57:36 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Gildas Bazin <gbazin@netcourrier.com>
#endif
#if !defined( UNDER_CE )
+# include <io.h>
# include <fcntl.h>
# include <winsock2.h>
#endif
* playlist.c : Playlist management functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: playlist.c,v 1.66 2003/11/29 11:12:46 fenrir Exp $
+ * $Id: playlist.c,v 1.67 2003/12/02 12:57:36 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
if( *pi_obj_destroyed_date == 0 )
{
/* give a little time */
- *pi_obj_destroyed_date = mdate() + 300000LL;
+ *pi_obj_destroyed_date = mdate() + I64C(300000);
}
else
{