[FFmpeg-soc] [soc]: r853 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Thu Aug 16 13:53:56 CEST 2007
Author: marco
Date: Thu Aug 16 13:53:56 2007
New Revision: 853
Log:
use FFABS instead of abs
Modified:
dirac/libavcodec/dirac.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Thu Aug 16 13:53:56 2007
@@ -770,7 +770,7 @@ static int inline coeff_quant_offset(Dir
*/
static int inline coeff_dequant(int coeff,
int qoffset, int qfactor) {
- int64_t magnitude = abs(coeff) * qfactor;
+ int64_t magnitude = FFABS(coeff) * qfactor;
if (! magnitude)
return 0;
More information about the FFmpeg-soc
mailing list