summaryrefslogtreecommitdiff
path: root/libswresample/rematrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libswresample/rematrix.c')
-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;
}