avfilter/af_sofalizer: Fix bad shift
Fixes CID1396835
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 4064f3f0df)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
4ed0177e4a
commit
8ce5038e99
1 changed files with 1 additions and 1 deletions
|
|
@ -448,7 +448,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue