Commit 255cdb14 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Use int32 rather than long for FOURCC so we don't artificially screw up the...

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)
parent 08521fc1
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment