changeset 12384:f191e76af463

10l
author rfelker
date Sat, 01 May 2004 20:00:04 +0000
parents 94ba609e53f7
children b5c106b694e4
files libmpcodecs/dec_audio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.c	Sat May 01 19:43:59 2004 +0000
+++ b/libmpcodecs/dec_audio.c	Sat May 01 20:00:04 2004 +0000
@@ -294,7 +294,7 @@
   // output format: same as ao driver's input format (if missing, fallback to input)
   afs->output.rate   = *out_samplerate ? *out_samplerate : afs->input.rate;
   afs->output.nch    = *out_channels ? *out_channels : afs->input.nch;
-  afs->output.format = af_format_decode(*out_format ? *out_format : afs->input.format);
+  afs->output.format = *out_format ? af_format_decode(*out_format) : afs->input.format;
   afs->output.bps    = out_bps ? out_bps : afs->input.bps;
 
   // filter config: