diff options
author | wm4 <wm4@nowhere> | 2013-05-13 18:05:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-13 18:05:37 +0200 |
commit | 636e1edd9e3bbfb2085ed5b3014b4a9e1fab3274 (patch) | |
tree | c5e7c371add36bc0ebdce7d3deafb84d50ad47ac | |
parent | 279f4b59dc08950a90379ef5905736167c79a438 (diff) | |
download | mpv-636e1edd9e3bbfb2085ed5b3014b4a9e1fab3274.tar.bz2 mpv-636e1edd9e3bbfb2085ed5b3014b4a9e1fab3274.tar.xz |
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.
-rw-r--r-- | audio/filter/af_lavrresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |