Commit 279d2599 authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Michael Niedermayer

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: 's avatarMikulas Patocka <mikulas@twibright.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent bdddcb7b
......@@ -24,6 +24,7 @@
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/ffmath.h"
#include "avcodec.h"
#include "internal.h"
......
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