Mercurial > libavcodec.hg
diff ffv1.c @ 4001:34fdffe98bd0 libavcodec
Rename ABS macro to FFABS.
author | diego |
---|---|
date | Wed, 11 Oct 2006 23:17:58 +0000 |
parents | c8c591fe26f8 |
children | d6f83e2f8804 |
line wrap: on
line diff
--- a/ffv1.c Wed Oct 11 21:34:15 2006 +0000 +++ b/ffv1.c Wed Oct 11 23:17:58 2006 +0000 @@ -225,7 +225,7 @@ int i; if(v){ - const int a= ABS(v); + const int a= FFABS(v); const int e= av_log2(a); put_rac(c, state+0, 0); @@ -273,7 +273,7 @@ static inline void update_vlc_state(VlcState * const state, const int v){ int drift= state->drift; int count= state->count; - state->error_sum += ABS(v); + state->error_sum += FFABS(v); drift += v; if(count == 128){ //FIXME variable