[MPlayer-cvslog] r32065 - in trunk/libmpcodecs: ad_mp3lib.c ad_mpg123.c

diego subversion at mplayerhq.hu
Wed Sep 8 01:46:14 CEST 2010


Author: diego
Date: Wed Sep  8 01:46:14 2010
New Revision: 32065

Log:
Add the proper include instead of declaring the fakemono variable extern.

Modified:
   trunk/libmpcodecs/ad_mp3lib.c
   trunk/libmpcodecs/ad_mpg123.c

Modified: trunk/libmpcodecs/ad_mp3lib.c
==============================================================================
--- trunk/libmpcodecs/ad_mp3lib.c	Wed Sep  8 01:41:23 2010	(r32064)
+++ trunk/libmpcodecs/ad_mp3lib.c	Wed Sep  8 01:46:14 2010	(r32065)
@@ -23,6 +23,7 @@
 #include "config.h"
 
 #include "ad_internal.h"
+#include "dec_audio.h"
 #include "ad_mp3lib.h"
 
 static const ad_info_t info =
@@ -38,8 +39,6 @@ LIBAD_EXTERN(mp3lib)
 
 #include "mp3lib/mp3.h"
 
-extern int fakemono;
-
 static sh_audio_t* dec_audio_sh=NULL;
 
 // MP3 decoder buffer callback:

Modified: trunk/libmpcodecs/ad_mpg123.c
==============================================================================
--- trunk/libmpcodecs/ad_mpg123.c	Wed Sep  8 01:41:23 2010	(r32064)
+++ trunk/libmpcodecs/ad_mpg123.c	Wed Sep  8 01:46:14 2010	(r32065)
@@ -25,6 +25,7 @@
 #include "config.h"
 
 #include "ad_internal.h"
+#include "dec_audio.h"
 
 static const ad_info_t info = {
     "MPEG 1.0/2.0/2.5 layers I, II, III",
@@ -72,10 +73,6 @@ LIBAD_EXTERN(mpg123)
 /* Switch for updating bitrate info of VBR files. Not essential. */
 #define AD_MPG123_MEAN_BITRATE
 
-/* Funny thing, that. I assume I shall use it for selecting mpg123 channels.
- * Please correct me if I guessed wrong. */
-extern int fakemono;
-
 struct ad_mpg123_context {
     mpg123_handle *handle;
 #ifdef AD_MPG123_MEAN_BITRATE


More information about the MPlayer-cvslog mailing list