summaryrefslogtreecommitdiff
blob: 4484c9816ead1d1011476d7a0cf4e13bc0e49d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Index: sampeg3-0.0.3/src/coding/dct/idctblk_fp_aan.hh
===================================================================
--- sampeg3-0.0.3.orig/src/coding/dct/idctblk_fp_aan.hh
+++ sampeg3-0.0.3/src/coding/dct/idctblk_fp_aan.hh
@@ -50,6 +50,9 @@
 
 #include "coding/dct/dctblk.hh"
 
+#ifndef PI
+#define PI M_PI
+#endif
 
 template <class OutputType,int Low,int High> class IDCTBlk_AccurateFP
   : public IDCTBlk<OutputType,Low,High>
Index: sampeg3-0.0.3/src/test/rdcurves.cc
===================================================================
--- sampeg3-0.0.3.orig/src/test/rdcurves.cc
+++ sampeg3-0.0.3/src/test/rdcurves.cc
@@ -86,7 +86,7 @@ private:
   static const int left = 3*28;
   static const int top  = 26*28;
   static const double width=16*28;
-  static const double height = width*3/4;
+  static const double height = (16*28)*3/4;
 };