remove dependency of mpeg audio encoder over mpeg audio decoder

Originally committed as revision 9082 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs
2007-05-20 22:50:29 +00:00
parent ca6e50afc1
commit 08aa2c9bd2
5 changed files with 825 additions and 796 deletions

View File

@@ -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,