From 08aa2c9bd2a3b5d26693ee3a58c38eedc9ee3246 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sun, 20 May 2007 22:50:29 +0000 Subject: remove dependency of mpeg audio encoder over mpeg audio decoder Originally committed as revision 9082 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegaudio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/mpegaudio.h') diff --git a/libavcodec/mpegaudio.h b/libavcodec/mpegaudio.h index f8a689ab98..8a830e25a9 100644 --- a/libavcodec/mpegaudio.h +++ b/libavcodec/mpegaudio.h @@ -26,6 +26,7 @@ #ifndef MPEGAUDIO_H #define MPEGAUDIO_H +#include "avcodec.h" #include "bitstream.h" #include "dsputil.h" @@ -115,7 +116,7 @@ typedef struct MPADecodeContext { AVCodecContext* avctx; } MPADecodeContext; -int l2_select_table(int bitrate, int nb_channels, int freq, int lsf); +int ff_mpa_l2_select_table(int bitrate, int nb_channels, int freq, int lsf); int ff_mpa_decode_header(AVCodecContext *avctx, uint32_t head, int *sample_rate); void ff_mpa_synth_init(MPA_INT *window); void ff_mpa_synth_filter(MPA_INT *synth_buf_ptr, int *synth_buf_offset, -- cgit v1.2.3