aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpeg.cpp
diff options
context:
space:
mode:
authordhewg2011-03-19 11:24:06 +0100
committerdhewg2011-03-19 11:24:06 +0100
commit2def212de75b3885738c4db188f0a42b712bd48f (patch)
tree03657dca73b120b0e80c73346dac1e47ec543d6a /graphics/jpeg.cpp
parenta4c05b1632940b3f2003055e0c64970b4b053f32 (diff)
downloadscummvm-rg350-2def212de75b3885738c4db188f0a42b712bd48f.tar.gz
scummvm-rg350-2def212de75b3885738c4db188f0a42b712bd48f.tar.bz2
scummvm-rg350-2def212de75b3885738c4db188f0a42b712bd48f.zip
ALL: s/PI/M_PI/
Tip of the day: git grep -w PI
Diffstat (limited to 'graphics/jpeg.cpp')
-rw-r--r--graphics/jpeg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/jpeg.cpp b/graphics/jpeg.cpp
index aa4b876680..5ddd675273 100644
--- a/graphics/jpeg.cpp
+++ b/graphics/jpeg.cpp
@@ -46,7 +46,7 @@ static const uint8 _zigZagOrder[64] = {
};
// IDCT table built with :
-// _idct8x8[x][y] = cos(((2 * x + 1) * y) * (PI / 16.0)) * 0.5;
+// _idct8x8[x][y] = cos(((2 * x + 1) * y) * (M_PI / 16.0)) * 0.5;
// _idct8x8[x][y] /= sqrt(2.0) if y == 0
static const double _idct8x8[8][8] = {
{ 0.353553390593274, 0.490392640201615, 0.461939766255643, 0.415734806151273, 0.353553390593274, 0.277785116509801, 0.191341716182545, 0.097545161008064 },