Mercurial > mplayer.hg
annotate tremor/registry.h @ 27450:4da9ce4d8327
Fix 'cast from pointer to integer of different size' on 64bit architectures. Casting to long should work for 32bit and 64bit and not make a difference to the boolean operation (since 'format' is always 32bit (int) the upper 32bit of 'arg' won't matter, but the compiler should be happy now. Casting both to unsigned makes sure the compiler isn't messing things up by sign-extending 'format' to 64bit before masking)
author | ranma |
---|---|
date | Sun, 24 Aug 2008 13:52:54 +0000 |
parents | cd6b211be811 |
children |
rev | line source |
---|---|
14280 | 1 /******************************************************************** |
2 * * | |
3 * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. * | |
4 * * | |
19251
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
5 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
6 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
7 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * |
cd6b211be811
Replace tremor files that had old headers saying "ALL REDISTRIBUTION
uau
parents:
14280
diff
changeset
|
8 * * |
14280 | 9 * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 * |
10 * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ * | |
11 * * | |
12 ******************************************************************** | |
13 | |
14 function: registry for time, floor, res backends and channel mappings | |
15 | |
16 ********************************************************************/ | |
17 | |
18 #ifndef _V_REG_H_ | |
19 #define _V_REG_H_ | |
20 | |
21 #define VI_TRANSFORMB 1 | |
22 #define VI_WINDOWB 1 | |
23 #define VI_TIMEB 1 | |
24 #define VI_FLOORB 2 | |
25 #define VI_RESB 3 | |
26 #define VI_MAPB 1 | |
27 | |
28 #include "backends.h" | |
29 | |
30 #if defined(_WIN32) && defined(VORBISDLL_IMPORT) | |
31 # define EXTERN __declspec(dllimport) extern | |
32 #else | |
33 # define EXTERN extern | |
34 #endif | |
35 | |
36 EXTERN vorbis_func_floor *_floor_P[]; | |
37 EXTERN vorbis_func_residue *_residue_P[]; | |
38 EXTERN vorbis_func_mapping *_mapping_P[]; | |
39 | |
40 #endif |