[FFmpeg-cvslog] avfilter/af_surround: fix typo

Paul B Mahol git at videolan.org
Wed Apr 24 23:57:10 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Apr 24 11:23:57 2019 +0200| [e1cfb01b054b232ad7a4d2eb12deb4d2bc51fe27] | committer: Paul B Mahol

avfilter/af_surround: fix typo

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1cfb01b054b232ad7a4d2eb12deb4d2bc51fe27
---

 libavfilter/af_surround.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);



More information about the ffmpeg-cvslog mailing list