1
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:33:46 +01:00

Patch by Alan Young <ayoung at teleport.com>: Fix xacodec type mismatch, which

is exploited on 64bit-archs (where sizeof(int) != sizeof(long))


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6699 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2002-07-10 08:56:06 +00:00
parent a6f8314dc1
commit 02946c24d5

View File

@ -29,15 +29,15 @@ typedef struct
typedef struct typedef struct
{ {
void *anim_hdr; void *anim_hdr;
unsigned long compression; unsigned int compression;
unsigned long x, y; unsigned int x, y;
unsigned long depth; unsigned int depth;
void *extra; void *extra;
unsigned long xapi_rev; unsigned int xapi_rev;
unsigned long (*decoder)(); unsigned int (*decoder)();
char *description; char *description;
unsigned long avi_ctab_flag; unsigned int avi_ctab_flag;
unsigned long (*avi_read_ext)(); unsigned int (*avi_read_ext)();
} XA_CODEC_HDR; } XA_CODEC_HDR;
#define CODEC_SUPPORTED 1 #define CODEC_SUPPORTED 1