mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user