[FFmpeg-cvslog] opus: remove redundant ff_celt_window2 declaration

Rostislav Pehlivanov git at videolan.org
Sun Dec 18 09:15:45 EET 2016


ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Sun Dec 18 07:10:48 2016 +0000| [38a13155827b5ab3af1fd44f5963de96b496544c] | committer: Rostislav Pehlivanov

opus: remove redundant ff_celt_window2 declaration

Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=38a13155827b5ab3af1fd44f5963de96b496544c
---

 libavcodec/opus.h    | 2 --
 libavcodec/opusdec.c | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/opus.h b/libavcodec/opus.h
index 2079f42..2c3d63a 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 329f784..556acfe 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,



More information about the ffmpeg-cvslog mailing list