Mercurial > mplayer.hg
changeset 31436:bc52a219f741
Move mpae_toolame_ctx structure to ae_toolame.c.
The structure is not used anywhere else.
author | diego |
---|---|
date | Mon, 21 Jun 2010 09:42:01 +0000 |
parents | 8d74f644b38a |
children | 327eedc724c5 |
files | libmpcodecs/ae_toolame.c libmpcodecs/ae_toolame.h |
diffstat | 2 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ae_toolame.c Mon Jun 21 08:58:49 2010 +0000 +++ b/libmpcodecs/ae_toolame.c Mon Jun 21 09:42:01 2010 +0000 @@ -22,6 +22,8 @@ #include <unistd.h> #include <string.h> #include <sys/types.h> +#include <toolame.h> + #include "m_option.h" #include "mp_msg.h" #include "libmpdemux/aviheader.h" @@ -33,6 +35,13 @@ #include "libmpdemux/mp3_hdr.h" +typedef struct { + toolame_options *toolame_ctx; + int channels, srate, bitrate; + int vbr; + int16_t left_pcm[1152], right_pcm[1152]; +} mpae_toolame_ctx; + static int param_bitrate = 192, param_psy = 3,
--- a/libmpcodecs/ae_toolame.h Mon Jun 21 08:58:49 2010 +0000 +++ b/libmpcodecs/ae_toolame.h Mon Jun 21 09:42:01 2010 +0000 @@ -20,14 +20,6 @@ #define MPLAYER_AE_TOOLAME_H #include "ae.h" -#include <toolame.h> - -typedef struct { - toolame_options *toolame_ctx; - int channels, srate, bitrate; - int vbr; - int16_t left_pcm[1152], right_pcm[1152]; -} mpae_toolame_ctx; int mpae_init_toolame(audio_encoder_t *encoder);