summaryrefslogtreecommitdiff
path: root/libswresample
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-14 03:48:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-14 03:48:05 +0200
commit555f352f99317b141f109716524b5a2aace91316 (patch)
tree34af09f71c7b048af400d21ceb76b121fa9fcf8b /libswresample
parent014b178f84fd6c5766e6a626a83f15a0dc635c90 (diff)
swr/rematrix: fix C99 left shift overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample')
-rw-r--r--libswresample/rematrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c
index 72da438e6c..3115c99dde 100644
--- a/libswresample/rematrix.c
+++ b/libswresample/rematrix.c
@@ -158,7 +158,7 @@ av_cold static int auto_matrix(SwrContext *s)
memset(s->matrix, 0, sizeof(s->matrix));
for(i=0; i<64; i++){
- if(in_ch_layout & out_ch_layout & (1LL<<i))
+ if(in_ch_layout & out_ch_layout & (1ULL<<i))
matrix[i][i]= 1.0;
}