mirror of
https://github.com/mpv-player/mpv
synced 2025-02-05 14:42:24 +00:00
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
This commit is contained in:
parent
f6ee7f826c
commit
95ae50149c
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user