summaryrefslogtreecommitdiffstats
path: root/xacodec.h
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-10 08:56:06 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-10 08:56:06 +0000
commit02946c24d56a71c15b821f2eff32c7b1ea0272e8 (patch)
treeff757041463ed0f0f047d14e13ab83fe30009981 /xacodec.h
parenta6f8314dc13e026b610bca5177ad41052ea64bb7 (diff)
downloadmpv-02946c24d56a71c15b821f2eff32c7b1ea0272e8.tar.bz2
mpv-02946c24d56a71c15b821f2eff32c7b1ea0272e8.tar.xz
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
Diffstat (limited to 'xacodec.h')
-rw-r--r--xacodec.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/xacodec.h b/xacodec.h
index 0ab6e7969f..c847e1efc3 100644
--- a/xacodec.h
+++ b/xacodec.h
@@ -29,15 +29,15 @@ typedef struct
typedef struct
{
void *anim_hdr;
- unsigned long compression;
- unsigned long x, y;
- unsigned long depth;
+ unsigned int compression;
+ unsigned int x, y;
+ unsigned int depth;
void *extra;
- unsigned long xapi_rev;
- unsigned long (*decoder)();
+ unsigned int xapi_rev;
+ unsigned int (*decoder)();
char *description;
- unsigned long avi_ctab_flag;
- unsigned long (*avi_read_ext)();
+ unsigned int avi_ctab_flag;
+ unsigned int (*avi_read_ext)();
} XA_CODEC_HDR;
#define CODEC_SUPPORTED 1