diff options
Diffstat (limited to 'dec_audio.c')
-rw-r--r-- | dec_audio.c | 7 |
1 files changed, 3 insertions, 4 deletions
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) { |