summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-01-17 22:02:07 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-01-17 22:02:07 +0000
commit8a05bca46caa937e4fa891391126639410093262 (patch)
tree57718095a502357be8ed518efdf9c7231c6574cb /libavformat
parent0888ac4f273ab7677f409637662d878080366d3d (diff)
CONFIG_ENCODERS fix by (Ronald Bultje <rbultje at ronald dot bitfreak dot net>)
Originally committed as revision 2711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 447b6d483d..07d6b928e5 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -74,13 +74,13 @@ typedef struct {
#define AC3_ID 0x80
#define LPCM_ID 0xa0
+static const int lpcm_freq_tab[4] = { 48000, 96000, 44100, 32000 };
+
#ifdef CONFIG_ENCODERS
extern AVOutputFormat mpeg1system_mux;
extern AVOutputFormat mpeg1vcd_mux;
extern AVOutputFormat mpeg2vob_mux;
-static const int lpcm_freq_tab[4] = { 48000, 96000, 44100, 32000 };
-
static int put_pack_header(AVFormatContext *ctx,
uint8_t *buf, int64_t timestamp)
{