changeset 3182:95bbd21e8e1f

moved num_audio_channels out of LIBMAD ifdef, where it didn't belong!
author steve
date Wed, 28 Nov 2001 14:29:14 +0000
parents c8edb0691f09
children ce9acee4e129
files dec_audio.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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)
 {