]> git.sesse.net Git - vlc/commitdiff
Include stdint.h for uint32_t. i'm not sure how portable it is and how to make it...
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 2 Feb 2008 14:11:19 +0000 (14:11 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 2 Feb 2008 14:11:19 +0000 (14:11 +0000)
include/vlc/mediacontrol_structures.h

index d0290bdde037eed757727d0ba12a2ca1b64c1efd..8d7f9b850212b682e880b39256ce7348990f928d 100644 (file)
@@ -34,6 +34,8 @@
 extern "C" {
 # endif
 
+#include <stdint.h>
+
 /**
  * A position may have different origins:
  *  - absolute counts from the movie start
@@ -85,7 +87,7 @@ typedef struct {
     int  width;
     int  height;
     uint32_t type;
-    int64_t date;
+    vlc_int64_t date;
     int  size;
     char *data;
 } mediacontrol_RGBPicture;
@@ -120,8 +122,8 @@ typedef struct {
 typedef struct {
     mediacontrol_PlayerStatus streamstatus;
     char *url;         /* The URL of the current media stream */
-    int64_t position;  /* actual location in the stream (in ms) */
-    int64_t length;    /* total length of the stream (in ms) */
+    vlc_int64_t position;  /* actual location in the stream (in ms) */
+    vlc_int64_t length;    /* total length of the stream (in ms) */
 } mediacontrol_StreamInformation;