summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2016-12-18 07:10:48 +0000
committerRostislav Pehlivanov <atomnuker@gmail.com>2016-12-18 07:11:27 +0000
commit38a13155827b5ab3af1fd44f5963de96b496544c (patch)
tree319a44049a7e413cf06f5aec21c77079d39c6836 /libavcodec
parentd8b9bef1a06e3592122613391d951bdbb4c74d46 (diff)
opus: remove redundant ff_celt_window2 declaration
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/opus.h2
-rw-r--r--libavcodec/opusdec.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/opus.h b/libavcodec/opus.h
index 2079f423b4..2c3d63a7a2 100644
--- a/libavcodec/opus.h
+++ b/libavcodec/opus.h
@@ -205,6 +205,4 @@ int ff_celt_decode_frame(CeltContext *s, OpusRangeCoder *rc,
float **output, int coded_channels, int frame_size,
int startband, int endband);
-extern const float ff_celt_window2[120];
-
#endif /* AVCODEC_OPUS_H */
diff --git a/libavcodec/opusdec.c b/libavcodec/opusdec.c
index 329f784182..556acfe2df 100644
--- a/libavcodec/opusdec.c
+++ b/libavcodec/opusdec.c
@@ -47,6 +47,7 @@
#include "internal.h"
#include "mathops.h"
#include "opus.h"
+#include "opustab.h"
static const uint16_t silk_frame_duration_ms[16] = {
10, 20, 40, 60,