diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-10-11 23:17:58 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-10-11 23:17:58 +0000 |
commit | c26abfa5414becf3dd68d976ef5851c5cab477b6 (patch) | |
tree | 5a98401cf286223f51c29c0eab36f2a33b5f12e3 /libavcodec/flacenc.c | |
parent | 02305ff38ffcc41a72fc1cb79c028b724d2d795d (diff) | |
download | ffmpeg-c26abfa5414becf3dd68d976ef5851c5cab477b6.tar.gz |
Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r-- | libavcodec/flacenc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 983ac06786..73f0bb416f 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -1032,10 +1032,10 @@ static int estimate_stereo_mode(int32_t *left_ch, int32_t *right_ch, int n) for(i=2; i<n; i++) { lt = left_ch[i] - 2*left_ch[i-1] + left_ch[i-2]; rt = right_ch[i] - 2*right_ch[i-1] + right_ch[i-2]; - sum[2] += ABS((lt + rt) >> 1); - sum[3] += ABS(lt - rt); - sum[0] += ABS(lt); - sum[1] += ABS(rt); + sum[2] += FFABS((lt + rt) >> 1); + sum[3] += FFABS(lt - rt); + sum[0] += FFABS(lt); + sum[1] += FFABS(rt); } /* estimate bit counts */ for(i=0; i<4; i++) { |