From 255cdb14836dce0939766d9222b6d2d42aa249eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 20 Oct 2007 07:59:42 +0000 Subject: [PATCH] Use int32 rather than long for FOURCC so we don't artificially screw up the ABI on 64-bits platform. Use int64 rather than long for value so we don't overflow on 32-bits platform (ABI breakage, but I did not start it) --- include/vlc/mediacontrol_structures.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/vlc/mediacontrol_structures.h b/include/vlc/mediacontrol_structures.h index 82c621e2a1..d0290bdde0 100644 --- a/include/vlc/mediacontrol_structures.h +++ b/include/vlc/mediacontrol_structures.h @@ -74,7 +74,7 @@ typedef enum { typedef struct { mediacontrol_PositionOrigin origin; mediacontrol_PositionKey key; - long value; + vlc_int64_t value; } mediacontrol_Position; /** @@ -84,8 +84,8 @@ typedef struct { typedef struct { int width; int height; - long type; - vlc_int64_t date; + uint32_t type; + int64_t date; int size; char *data; } mediacontrol_RGBPicture; @@ -120,8 +120,8 @@ typedef struct { typedef struct { mediacontrol_PlayerStatus streamstatus; char *url; /* The URL of the current media stream */ - vlc_int64_t position; /* actual location in the stream (in ms) */ - vlc_int64_t length; /* total length of the stream (in ms) */ + int64_t position; /* actual location in the stream (in ms) */ + int64_t length; /* total length of the stream (in ms) */ } mediacontrol_StreamInformation; -- 2.39.2