summaryrefslogtreecommitdiff
path: root/libavcodec/ac3.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-04-25 22:12:51 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-04-25 22:12:51 +0000
commit7adb10bedf19e8117b0486177167d86f186f06f9 (patch)
tree41fe29a30c8da82aea8b53413e9f0ef0826d9010 /libavcodec/ac3.h
parentad8b8abce401962932442a93d371d684004bf6b0 (diff)
move ac3 tables from a .h to a .c
Originally committed as revision 8816 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3.h')
-rw-r--r--libavcodec/ac3.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index 770103a45a..3a14a3b383 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -24,6 +24,8 @@
* Common code between AC3 encoder and decoder.
*/
+#include "ac3tab.h"
+
#define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */
#define AC3_MAX_CHANNELS 6 /* including LFE channel */
@@ -77,17 +79,6 @@ typedef struct {
/** @} */
} AC3HeaderInfo;
-extern const uint16_t ff_ac3_frame_sizes[38][3];
-extern const uint8_t ff_ac3_channels[8];
-extern const uint16_t ff_ac3_freqs[3];
-extern const uint16_t ff_ac3_bitratetab[19];
-extern const int16_t ff_ac3_window[256];
-extern const uint8_t ff_sdecaytab[4];
-extern const uint8_t ff_fdecaytab[4];
-extern const uint16_t ff_sgaintab[4];
-extern const uint16_t ff_dbkneetab[4];
-extern const int16_t ff_floortab[8];
-extern const uint16_t ff_fgaintab[8];
void ac3_common_init(void);