diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-08-15 13:07:42 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-08-15 13:07:42 +0000 |
commit | 34763c151fd387f2977f850eac11762bf965467f (patch) | |
tree | 818e264f46f3a1cf9b99fc171071c99746936251 /libavcodec/ac3enc.c | |
parent | 67e9bb0d0b0964a3a2499daf7e81a7053da3a8be (diff) | |
download | ffmpeg-streaming-34763c151fd387f2977f850eac11762bf965467f.zip ffmpeg-streaming-34763c151fd387f2977f850eac11762bf965467f.tar.gz |
renamed log2 to av_log2
Originally committed as revision 96 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index b43557d..0754c86 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -1195,7 +1195,7 @@ static int log2_tab(INT16 *tab, int n) for(i=0;i<n;i++) { v |= abs(tab[i]); } - return log2(v); + return av_log2(v); } static void lshift_tab(INT16 *tab, int n, int lshift) @@ -1307,7 +1307,7 @@ int AC3_encode_frame(AVCodecContext *avctx, if (v == 0) e = 24; else { - e = 23 - log2(v) + exp_samples[i][ch]; + e = 23 - av_log2(v) + exp_samples[i][ch]; if (e >= 24) { e = 24; mdct_coef[i][ch][j] = 0; |