libass: fix compilation with older versions of libass
[vlc.git] / contrib / src / tremor / tremor.patch
blob776b47d14b7004545e3efec1048a485de603cd01
1 Index: tremor-svn/os.h
2 ===================================================================
3 --- tremor-svn.orig/os.h (révision 17483)
4 +++ tremor-svn/os.h (copie de travail)
5 @@ -20,6 +20,14 @@
6 #include <math.h>
7 #include <ogg/os_types.h>
9 +#ifdef _LOW_ACCURACY_
10 +# define X(n) (((((n)>>22)+1)>>1) - ((((n)>>22)+1)>>9))
11 +# define LOOKUP_T const unsigned char
12 +#else
13 +# define X(n) (n)
14 +# define LOOKUP_T const ogg_int32_t
15 +#endif
17 #ifndef _V_IFDEFJAIL_H_
18 # define _V_IFDEFJAIL_H_