Commit ef5e7fb2 authored by Vitor Sessak's avatar Vitor Sessak

Remove needless use of log2f()

Originally committed as revision 21185 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1c3c129b
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <math.h> #include <math.h>
#include <stdint.h> #include <stdint.h>
#include "libavutil/mathematics.h"
#include "avcodec.h" #include "avcodec.h"
#define ALT_BITSTREAM_READER_LE #define ALT_BITSTREAM_READER_LE
#include "get_bits.h" #include "get_bits.h"
...@@ -463,7 +464,7 @@ static void decode_frame(SiprContext *ctx, SiprParameters *params, ...@@ -463,7 +464,7 @@ static void decode_frame(SiprContext *ctx, SiprParameters *params,
gain_code = ff_amr_set_fixed_gain(gain_cb[params->gc_index[i]][1], gain_code = ff_amr_set_fixed_gain(gain_cb[params->gc_index[i]][1],
avg_energy, ctx->energy_history, avg_energy, ctx->energy_history,
34 - 15.0/(log2f(10.0) * 0.05), 34 - 15.0/(0.05*M_LN10/M_LN2),
pred); pred);
ff_weighted_vector_sumf(excitation, excitation, fixed_vector, ff_weighted_vector_sumf(excitation, excitation, fixed_vector,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment