mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
swr/rematrix: fix C99 left shift overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
014b178f84
commit
555f352f99
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user