[MPlayer-cvslog] r31502 - in trunk/libmpcodecs: ae_toolame.c ae_toolame.h

diego subversion at mplayerhq.hu
Mon Jun 21 11:42:01 CEST 2010


Author: diego
Date: Mon Jun 21 11:42:01 2010
New Revision: 31502

Log:
Move mpae_toolame_ctx structure to ae_toolame.c.
The structure is not used anywhere else.

Modified:
   trunk/libmpcodecs/ae_toolame.c
   trunk/libmpcodecs/ae_toolame.h

Modified: trunk/libmpcodecs/ae_toolame.c
==============================================================================
--- trunk/libmpcodecs/ae_toolame.c	Mon Jun 21 10:58:49 2010	(r31501)
+++ trunk/libmpcodecs/ae_toolame.c	Mon Jun 21 11:42:01 2010	(r31502)
@@ -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,

Modified: trunk/libmpcodecs/ae_toolame.h
==============================================================================
--- trunk/libmpcodecs/ae_toolame.h	Mon Jun 21 10:58:49 2010	(r31501)
+++ trunk/libmpcodecs/ae_toolame.h	Mon Jun 21 11:42:01 2010	(r31502)
@@ -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);
 


More information about the MPlayer-cvslog mailing list