From 95ae50149c5005e775132acd34897c3f7d882021 Mon Sep 17 00:00:00 2001 From: steve Date: Wed, 28 Nov 2001 14:29:14 +0000 Subject: moved num_audio_channels out of LIBMAD ifdef, where it didn't belong! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3183 b3059339-0415-0410-9bf9-f77b7e298cf2 --- dec_audio.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'dec_audio.c') diff --git a/dec_audio.c b/dec_audio.c index 52de2bebf2..f9b1742f76 100644 --- a/dec_audio.c +++ b/dec_audio.c @@ -36,6 +36,9 @@ extern int verbose; // defined in mplayer.c #include "cpudetect.h" +/* used for ac3surround decoder - set using -channels option */ +int audio_output_channels = 2; + #ifdef USE_FAKE_MONO int fakemono=0; #endif @@ -83,10 +86,6 @@ static struct mad_stream mad_stream; static struct mad_frame mad_frame; static struct mad_synth mad_synth; -/* used for ac3surround decoder - set using -channels option */ -int audio_output_channels = 2; - - // ensure buffer is filled with some data static void mad_prepare_buffer(sh_audio_t* sh_audio, struct mad_stream* ms, int length) { -- cgit v1.2.3