[MPlayer-dev-eng] [PATCH] unrarlib on AMD64

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Sun Apr 17 11:37:34 CEST 2005


Rich Felker wrote:
>>diff -Naur MPlayer-20050416/unrarlib.h MPlayer-20050416-patched/unrarlib.h
>>--- MPlayer-20050416/unrarlib.h 2005-04-15 20:48:03.000000000 +0200
>>+++ MPlayer-20050416-patched/unrarlib.h 2005-04-16 18:17:38.000000000 +0200
>>@@ -97,13 +97,13 @@
>> #ifdef _WIN_32
>> typedef unsigned char    UBYTE;             /* WIN32 definitions            */
>> typedef unsigned short   UWORD;
>>-typedef unsigned long    UDWORD;
>>+typedef unsigned int    UDWORD;
>> #endif
>>
>> #ifdef _UNIX                                /* LINUX/UNIX definitions       */
>> typedef unsigned char    UBYTE;
>> typedef unsigned short   UWORD;
>>-typedef unsigned long    UDWORD;
>>+typedef unsigned int    UDWORD;
>> #endif
> 
> 
> The correct solution is:
> typedef uint32_t UDWORD;

What about adding an (optional) support for rar executable, instead of
unrarlib? Recent rars cannot be read by unrarlib anyway.

-- 
Jindrich Makovicka




More information about the MPlayer-dev-eng mailing list