diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-27 17:36:21 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-04-27 21:52:48 +0400 |
commit | 81afa5a2740b94ed1db8ad980e37deecb5f8e573 (patch) | |
tree | 42282da548c0e3396adb06b14f9ab6ea02df32ec /libavcodec/alpha/simple_idct_alpha.c | |
parent | 3fd3632ffeb18aeca6c0ab3fbe1034c3da75d983 (diff) |
simple_idct_alpha: Drop some useless casts.
Diffstat (limited to 'libavcodec/alpha/simple_idct_alpha.c')
-rw-r--r-- | libavcodec/alpha/simple_idct_alpha.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/alpha/simple_idct_alpha.c b/libavcodec/alpha/simple_idct_alpha.c index 8f5c134365..bb76c1ec29 100644 --- a/libavcodec/alpha/simple_idct_alpha.c +++ b/libavcodec/alpha/simple_idct_alpha.c @@ -33,13 +33,13 @@ // cos(i * M_PI / 16) * sqrt(2) * (1 << 14) // W4 is actually exactly 16384, but using 16383 works around // accumulating rounding errors for some encoders -#define W1 ((int_fast32_t) 22725) -#define W2 ((int_fast32_t) 21407) -#define W3 ((int_fast32_t) 19266) -#define W4 ((int_fast32_t) 16383) -#define W5 ((int_fast32_t) 12873) -#define W6 ((int_fast32_t) 8867) -#define W7 ((int_fast32_t) 4520) +#define W1 22725 +#define W2 21407 +#define W3 19266 +#define W4 16383 +#define W5 12873 +#define W6 8867 +#define W7 4520 #define ROW_SHIFT 11 #define COL_SHIFT 20 |