From 7adb10bedf19e8117b0486177167d86f186f06f9 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Wed, 25 Apr 2007 22:12:51 +0000 Subject: move ac3 tables from a .h to a .c Originally committed as revision 8816 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ac3.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'libavcodec/ac3.h') 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); -- cgit v1.2.3