diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-14 05:48:05 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-14 05:48:05 +0400 |
commit | 555f352f99317b141f109716524b5a2aace91316 (patch) | |
tree | 34af09f71c7b048af400d21ceb76b121fa9fcf8b | |
parent | 014b178f84fd6c5766e6a626a83f15a0dc635c90 (diff) |
swr/rematrix: fix C99 left shift overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswresample/rematrix.c | 2 |
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; } |