# HG changeset patch # User steve # Date 1006957754 0 # Node ID 95bbd21e8e1faa06d580601497b0dac0aa97079c # Parent c8edb0691f0934ab904ab4a72a90f6208c5e8807 moved num_audio_channels out of LIBMAD ifdef, where it didn't belong! diff -r c8edb0691f09 -r 95bbd21e8e1f dec_audio.c --- a/dec_audio.c Wed Nov 28 12:46:23 2001 +0000 +++ b/dec_audio.c Wed Nov 28 14:29:14 2001 +0000 @@ -36,6 +36,9 @@ #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_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) {