aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_surround.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-04-24 11:23:57 +0200
committerPaul B Mahol <onemda@gmail.com>2019-04-24 22:31:02 +0200
commite1cfb01b054b232ad7a4d2eb12deb4d2bc51fe27 (patch)
treec2fc541b051fe04a9a57b94c08f2a911f7b79951 /libavfilter/af_surround.c
parent7c2ee8d43d95708fb18c590899c37a4034a1ea07 (diff)
downloadffmpeg-e1cfb01b054b232ad7a4d2eb12deb4d2bc51fe27.tar.gz
avfilter/af_surround: fix typo
Diffstat (limited to 'libavfilter/af_surround.c')
-rw-r--r--libavfilter/af_surround.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_surround.c b/libavfilter/af_surround.c
index 1f4a84d5e0..96d6bcd9b5 100644
--- a/libavfilter/af_surround.c
+++ b/libavfilter/af_surround.c
@@ -1042,7 +1042,7 @@ static void upmix_7_1_5_1(AVFilterContext *ctx,
lb_mag = powf(.5f * (-xl + 1.f), s->bl_x) * powf((yl + 1.f) * .5f, s->bl_y) * mag_totall;
rb_mag = powf(.5f * (-xr + 1.f), s->br_x) * powf((yr + 1.f) * .5f, s->br_y) * mag_totalr;
ls_mag = powf(1.f - fabsf(xl), s->sl_x) * powf((yl + 1.f) * .5f, s->sl_y) * mag_totall;
- rs_mag = powf(1.f - fabsf(xr), s->sl_x) * powf((yr + 1.f) * .5f, s->sr_y) * mag_totalr;
+ rs_mag = powf(1.f - fabsf(xr), s->sr_x) * powf((yr + 1.f) * .5f, s->sr_y) * mag_totalr;
dstl[2 * n ] = fl_mag * cosf(fl_phase);
dstl[2 * n + 1] = fl_mag * sinf(fl_phase);