Commit 4064f3f0 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/af_sofalizer: Fix bad shift

Fixes CID1396835
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 54652405
......@@ -450,7 +450,7 @@ static int get_speaker_pos(AVFilterContext *ctx,
/* set speaker positions according to input channel configuration: */
for (m = 0, ch = 0; ch < n_conv && m < 64; m++) {
uint64_t mask = channels_layout & (1 << m);
uint64_t mask = channels_layout & (1ULL << m);
switch (mask) {
case AV_CH_FRONT_LEFT: azim[ch] = 30; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment