annotate tremor/tremor.diff @ 34211:203e14dbbe53

configure: remove erroneous extra set of braces from vsscanf test POSIX does not make any promises about the layout of va_list. Thus initializing it with extra braces might fail to compile on systems with perfectly fine vsscanf support. Skip the initialization instead, which also avoids warnings.
author diego
date Fri, 04 Nov 2011 14:29:31 +0000
parents 5affa2074131
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19257
fb837e2ab413 Make patch apply cleanly and with -p0, not a mix of -p0 and -p1.
diego
parents: 16266
diff changeset
1 --- misc.h 2005-01-04 16:29:01.000000000 +0100
fb837e2ab413 Make patch apply cleanly and with -p0, not a mix of -p0 and -p1.
diego
parents: 16266
diff changeset
2 +++ misc.h 2004-12-30 13:09:20.000000000 +0100
29997
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
3 @@ -18,6 +18,7 @@
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
4 #ifndef _V_RANDOM_H_
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
5 #define _V_RANDOM_H_
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
6 #include "ivorbiscodec.h"
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
7 +#include "codec_internal.h"
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
8 #include "os_types.h"
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
9
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
10 #include "asm_arm.h"
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
11 @@ -29,8 +30,10 @@
14369
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
12 /* 64 bit multiply */
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
13
14369
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
14 #include <sys/types.h>
29997
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
15 +#include <stdlib.h>
14369
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
16 +#include "config.h"
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
17
14369
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
18 -#if BYTE_ORDER==LITTLE_ENDIAN
29401
f01023c524c3 Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
diego
parents: 29264
diff changeset
19 +#if !HAVE_BIGENDIAN
14369
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
20 union magic {
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
21 struct {
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
22 ogg_int32_t lo;
29997
997ae534ebfe Add missing #includes to fix a bunch of 'implicit declaration of..' warnings.
diego
parents: 29401
diff changeset
23 @@ -38,9 +41,7 @@
14369
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
24 } halves;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
25 ogg_int64_t whole;
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
26 };
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
27 -#endif
14369
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
28 -
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
29 -#if BYTE_ORDER==BIG_ENDIAN
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
30 +#else
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
31 union magic {
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
32 struct {
a98495858305 changes against 1.0 + Dec 2004 SVN math code
henry
parents:
diff changeset
33 ogg_int32_t hi;
16266
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
34 --- sharedbook.c 30 Dec 2004 12:09:20 -0000 1.1
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
35 +++ sharedbook.c 18 Aug 2005 16:13:54 -0000
19257
fb837e2ab413 Make patch apply cleanly and with -p0, not a mix of -p0 and -p1.
diego
parents: 16266
diff changeset
36 @@ -208,7 +211,7 @@
16266
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
37 int indexdiv=1;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
38 for(k=0;k<b->dim;k++){
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
39 int index= (j/indexdiv)%quantvals;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
40 - int point;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
41 + ogg_int32_t point;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
42 int val=VFLOAT_MULTI(delta,delpoint,
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
43 abs(b->quantlist[index]),&point);
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
44
19257
fb837e2ab413 Make patch apply cleanly and with -p0, not a mix of -p0 and -p1.
diego
parents: 16266
diff changeset
45 @@ -242,7 +245,7 @@
16266
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
46 int lastpoint=0;
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
47
16266
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
48 for(k=0;k<b->dim;k++){
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
49 - int point;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
50 + ogg_int32_t point;
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
51 int val=VFLOAT_MULTI(delta,delpoint,
c820ccd4f5eb fix warnings and decoding on CYGWIN (produced only noise before this change)
faust3
parents: 15455
diff changeset
52 abs(b->quantlist[j*b->dim+k]),&point);
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
53
24796
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
54 --- block.h (revision 0)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
55 +++ block.h (revision 0)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
56 @@ -0,0 +1,24 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
57 +/********************************************************************
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
58 + * *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
59 + * THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
60 + * *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
61 + * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
62 + * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
63 + * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
64 + * *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
65 + * THE OggVorbis 'TREMOR' SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
66 + * BY THE Xiph.Org FOUNDATION http://www.xiph.org/ *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
67 + * *
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
68 + ********************************************************************
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
69 +
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
70 + function: basic shared block operations
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
71 +
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
72 + ********************************************************************/
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
73 +
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
74 +#ifndef _V_BLOCK_H_
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
75 +#define _V_BLOCK_H_
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
76 +
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
77 +void *_vorbis_block_alloc(vorbis_block *vb,long bytes);
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
78 +void _vorbis_block_ripcord(vorbis_block *vb);
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
79 +
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
80 +#endif
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
81 --- floor0.c (revision 24821)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
82 +++ floor0.c (working copy)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
83 @@ -25,6 +25,7 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
84 #include "codebook.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
85 #include "misc.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
86 #include "os.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
87 +#include "block.h"
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
88
24796
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
89 #define LSP_FRACBITS 14
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
90
24796
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
91 --- floor1.c (revision 24821)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
92 +++ floor1.c (working copy)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
93 @@ -24,6 +24,7 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
94 #include "registry.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
95 #include "codebook.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
96 #include "misc.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
97 +#include "block.h"
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
98
24796
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
99 #define floor1_rangedB 140 /* floor 1 fixed at -140dB to 0dB range */
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
100
24796
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
101 --- synthesis.c (revision 24821)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
102 +++ synthesis.c (working copy)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
103 @@ -23,6 +23,7 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
104 #include "registry.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
105 #include "misc.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
106 #include "os.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
107 +#include "block.h"
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
108
24796
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
109 int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
110 vorbis_dsp_state *vd=vb->vd;
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
111 --- res012.c (revision 24821)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
112 +++ res012.c (working copy)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
113 @@ -25,6 +25,7 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
114 #include "codebook.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
115 #include "misc.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
116 #include "os.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
117 +#include "block.h"
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
118
24796
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
119 typedef struct {
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
120 vorbis_info_residue0 *info;
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
121 --- block.c (revision 24821)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
122 +++ block.c (working copy)
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
123 @@ -25,6 +25,7 @@
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
124 #include "window.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
125 #include "registry.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
126 #include "misc.h"
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
127 +#include "block.h"
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
128
24796
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
129 static int ilog(unsigned int v){
8dfda4d651ec _vorbis_block_alloc() is used w/o prototype, this will crash on ia64.
diego
parents: 24795
diff changeset
130 int ret=0;
25847
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
131 --- os.h (revision 25873)
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
132 +++ os.h (working copy)
34195
5affa2074131 build: fix compilation on Solaris due to missing alloca.h #include
diego
parents: 29997
diff changeset
133 @@ -20,2 +20,3 @@
5affa2074131 build: fix compilation on Solaris due to missing alloca.h #include
diego
parents: 29997
diff changeset
134 +#include "config.h"
25847
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
135 #include <math.h>
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
136 #include "os_types.h"
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
137
25847
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
138 -#ifndef _V_IFDEFJAIL_H_
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
139 -# define _V_IFDEFJAIL_H_
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
140 +#define STIN static inline
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
141
25847
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
142 -# ifdef __GNUC__
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
143 -# define STIN static __inline__
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
144 -# elif _WIN32
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
145 -# define STIN static __inline
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
146 -# endif
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
147 -#else
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
148 -# define STIN static
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
149 -#endif
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
150 -
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
151 #ifndef M_PI
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
152 # define M_PI (3.1415926536f)
fe50eaad932d Use the standard "static inline" instead of some broken ifdef mess
reimar
parents: 24796
diff changeset
153 #endif
26867
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
154 --- os_types.h 2008-05-27 14:59:21.000000000 +0200
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
155 +++ os_types.h 2008-05-27 15:00:50.000000000 +0200
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
156 @@ -32,6 +32,15 @@
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
157 #define _ogg_realloc realloc
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
158 #define _ogg_free free
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
159
26867
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
160 +#include <inttypes.h>
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
161 +typedef int64_t ogg_int64_t;
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
162 +typedef int32_t ogg_int32_t;
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
163 +typedef int16_t ogg_int16_t;
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
164 +typedef uint32_t ogg_uint32_t;
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
165 +typedef uint16_t ogg_uint16_t;
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
166 +
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
167 +#if 0
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
168 +
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
169 #ifdef _WIN32
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
170
26867
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
171 # ifndef __GNUC__
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
172 @@ -85,4 +94,6 @@
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
173
26867
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
174 #endif
29264
e83eef58b30a Remove all kind of trailing whitespaces from all MPlayer's files.
bircoph
parents: 28798
diff changeset
175
26867
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
176 +#endif /* 0 */
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
177 +
e61b6352f32f Instead of removing code from this imported library, place it under #if 0.
diego
parents: 25847
diff changeset
178 #endif /* _OS_TYPES_H */
28798
60b7ea3da519 Sync latest set of changes.
diego
parents: 26867
diff changeset
179 --- mapping0.c (revision 28274)
60b7ea3da519 Sync latest set of changes.
diego
parents: 26867
diff changeset
180 +++ mapping0.c (revision 28275)
60b7ea3da519 Sync latest set of changes.
diego
parents: 26867
diff changeset
181 @@ -19,6 +20,7 @@
60b7ea3da519 Sync latest set of changes.
diego
parents: 26867
diff changeset
182 #include <string.h>
60b7ea3da519 Sync latest set of changes.
diego
parents: 26867
diff changeset
183 #include <math.h>
60b7ea3da519 Sync latest set of changes.
diego
parents: 26867
diff changeset
184 #include "ogg.h"
60b7ea3da519 Sync latest set of changes.
diego
parents: 26867
diff changeset
185 +#include "os.h"
60b7ea3da519 Sync latest set of changes.
diego
parents: 26867
diff changeset
186 #include "ivorbiscodec.h"
60b7ea3da519 Sync latest set of changes.
diego
parents: 26867
diff changeset
187 #include "mdct.h"
60b7ea3da519 Sync latest set of changes.
diego
parents: 26867
diff changeset
188 #include "codec_internal.h"