History

avfilter/af_surround: fix typo

Paul B Mahol committed 7 years ago

Commit e1cfb011 parent 7c2ee8d1 file · +1 −1Browse files

Unified · Split

libavfilter/af_surround.c+1−1
@@ -1042,7 +1042,7 @@ static void upmix_7_1_5_1(AVFilterContext *ctx, · 1041 unmodified lines
1042 lb_mag = powf(.5f * (-xl + 1.f), s->bl_x) * powf((yl + 1.f) * .5f, s->bl_y) * mag_totall;1042 lb_mag = powf(.5f * (-xl + 1.f), s->bl_x) * powf((yl + 1.f) * .5f, s->bl_y) * mag_totall;
1043 rb_mag = powf(.5f * (-xr + 1.f), s->br_x) * powf((yr + 1.f) * .5f, s->br_y) * mag_totalr;1043 rb_mag = powf(.5f * (-xr + 1.f), s->br_x) * powf((yr + 1.f) * .5f, s->br_y) * mag_totalr;
1044 ls_mag = powf(1.f - fabsf(xl), s->sl_x) * powf((yl + 1.f) * .5f, s->sl_y) * mag_totall;1044 ls_mag = powf(1.f - fabsf(xl), s->sl_x) * powf((yl + 1.f) * .5f, s->sl_y) * mag_totall;
1045 rs_mag = powf(1.f - fabsf(xr), s->sl_x) * powf((yr + 1.f) * .5f, s->sr_y) * mag_totalr;1045 rs_mag = powf(1.f - fabsf(xr), s->sr_x) * powf((yr + 1.f) * .5f, s->sr_y) * mag_totalr;
1046 1046
1047 dstl[2 * n ] = fl_mag * cosf(fl_phase);1047 dstl[2 * n ] = fl_mag * cosf(fl_phase);
1048 dstl[2 * n + 1] = fl_mag * sinf(fl_phase);1048 dstl[2 * n + 1] = fl_mag * sinf(fl_phase);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t