From 6a3e54b5f1dbfc815f7adc723fa82be9c763855f Mon Sep 17 00:00:00 2001 From: rfelker Date: Sat, 1 May 2004 20:00:04 +0000 Subject: 10l git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12385 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/dec_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c index 2f31e1b023..7b65e693c4 100644 --- a/libmpcodecs/dec_audio.c +++ b/libmpcodecs/dec_audio.c @@ -294,7 +294,7 @@ int preinit_audio_filters(sh_audio_t *sh_audio, // 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: -- cgit v1.2.3