diff options
author | Mikulas Patocka <mikulas@twibright.com> | 2017-11-23 20:22:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-11-25 02:32:54 +0100 |
commit | 279d2599dd6be8e2030a4543b4efa245fd75de5c (patch) | |
tree | bfcf8501991bc428c75ca339a82eaf431b45e90f /libavcodec/libopusdec.c | |
parent | bdddcb7b030d075dffa2989222d687106c06d50c (diff) | |
download | ffmpeg-279d2599dd6be8e2030a4543b4efa245fd75de5c.tar.gz |
ffmpeg libopusdec: fix missing include file in libopusdec.c
This patch fixes the following error when compiling mplayer with libopus.
libavcodec/libopusdec.c: In function 'libopus_decode_init':
libavcodec/libopusdec.c:130:27: error: implicit declaration of function 'ff_exp10'; did you mean 'ff_exp2fi'? [-Werror=implicit-function-declaration]
double gain_lin = ff_exp10(gain_db / (20.0 * 256));
^~~~~~~~
ff_exp2fi
Signed-off-by: Mikulas Patocka <mikulas@twibright.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/libopusdec.c')
-rw-r--r-- | libavcodec/libopusdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libopusdec.c b/libavcodec/libopusdec.c index 9dab0fdf65..9b1e002ceb 100644 --- a/libavcodec/libopusdec.c +++ b/libavcodec/libopusdec.c @@ -24,6 +24,7 @@ #include "libavutil/internal.h" #include "libavutil/intreadwrite.h" +#include "libavutil/ffmath.h" #include "avcodec.h" #include "internal.h" |