changeset 31437:327eedc724c5

Move mpae_twolame_ctx structure to ae_twolame.c. The structure is not used anywhere else.
author diego
date Mon, 21 Jun 2010 09:42:28 +0000
parents bc52a219f741
children 3afcf20a13e4
files libmpcodecs/ae_twolame.c libmpcodecs/ae_twolame.h
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ae_twolame.c	Mon Jun 21 09:42:01 2010 +0000
+++ b/libmpcodecs/ae_twolame.c	Mon Jun 21 09:42:28 2010 +0000
@@ -22,6 +22,8 @@
 #include <unistd.h>
 #include <string.h>
 #include <sys/types.h>
+#include <twolame.h>
+
 #include "m_option.h"
 #include "mp_msg.h"
 #include "libmpdemux/aviheader.h"
@@ -33,6 +35,11 @@
 #include "libmpdemux/mp3_hdr.h"
 
 
+typedef struct {
+	twolame_options *twolame_ctx;
+	int vbr;
+} mpae_twolame_ctx;
+
 static int
     param_bitrate = 192,
     param_psy = 3,
--- a/libmpcodecs/ae_twolame.h	Mon Jun 21 09:42:01 2010 +0000
+++ b/libmpcodecs/ae_twolame.h	Mon Jun 21 09:42:28 2010 +0000
@@ -20,12 +20,6 @@
 #define MPLAYER_AE_TWOLAME_H
 
 #include "ae.h"
-#include <twolame.h>
-
-typedef struct {
-	twolame_options *twolame_ctx;
-	int vbr;
-} mpae_twolame_ctx;
 
 int mpae_init_twolame(audio_encoder_t *encoder);