aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vorbis.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-29 23:20:08 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-03 23:19:47 +0200
commitdfe7c7ffcef012d137071dc80c4e3ca2715fde11 (patch)
treebe0a35e0cfc66f67f71b4f0241158fc4a6637121 /libavcodec/vorbis.h
parent5f02a261a2ddca7c79198869b45d35019baac819 (diff)
downloadffmpeg-dfe7c7ffcef012d137071dc80c4e3ca2715fde11.tar.gz
avcodec/vorbis: Split data declarations out into new header
vorbis.h currently contains stuff only used by the native Vorbis codecs and some Vorbis tables, which are also used by Opus and libvorbis. Therefore split the data out into a header of its own. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vorbis.h')
-rw-r--r--libavcodec/vorbis.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/libavcodec/vorbis.h b/libavcodec/vorbis.h
index 0dd109dd2e..aa1ec5719d 100644
--- a/libavcodec/vorbis.h
+++ b/libavcodec/vorbis.h
@@ -21,15 +21,9 @@
#ifndef AVCODEC_VORBIS_H
#define AVCODEC_VORBIS_H
-#include "avcodec.h"
+#include <stdint.h>
-extern const float ff_vorbis_floor1_inverse_db_table[256];
-extern const float * const ff_vorbis_vwin[8];
-extern const uint8_t ff_vorbis_channel_layout_offsets[8][8];
-#if FF_API_OLD_CHANNEL_LAYOUT
-extern const uint64_t ff_vorbis_channel_layouts[9];
-#endif
-extern const AVChannelLayout ff_vorbis_ch_layouts[9];
+#include "avcodec.h"
typedef struct vorbis_floor1_entry {
uint16_t x;