Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-03-30 23:15:21 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2017-03-30 23:46:31 +0300
commit4064f3f0dfe71f6d378b9252a390f89c4315bf54 (patch)
treeeff8ffba9187955f7d070ebc8eba4fb60f7ba404 /libavfilter
parent546524056d7c26304cba855405e43b43dabe00d2 (diff)
avfilter/af_sofalizer: Fix bad shift
Fixes CID1396835 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_sofalizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c
index 5f0ab31a2a..252f524c23 100644
--- a/libavfilter/af_sofalizer.c
+++ b/libavfilter/af_sofalizer.c
@@ -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;