From 636e1edd9e3bbfb2085ed5b3014b4a9e1fab3274 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 13 May 2013 18:05:37 +0200 Subject: af_lavrresample: fix inverted condition This was added with the previous commit. It likely broke some obscure special-cases, which (hopefully) do not happen with normal playback. --- audio/filter/af_lavrresample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/filter/af_lavrresample.c b/audio/filter/af_lavrresample.c index 162f196477..cf248dc001 100644 --- a/audio/filter/af_lavrresample.c +++ b/audio/filter/af_lavrresample.c @@ -327,7 +327,7 @@ static struct mp_audio *play(struct af_instance *af, struct mp_audio *data) s->ctx.out_rate, s->ctx.in_rate, AV_ROUND_UP); -#if USE_SET_CHANNEL_MAPPING +#if !USE_SET_CHANNEL_MAPPING reorder_channels(data->audio, s->reorder_in, data->bps, data->nch, in_samples); #endif -- cgit v1.2.3