Commit c3c1af6d authored by Michael Niedermayer's avatar Michael Niedermayer

rematrix: use double during init.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1133676f
......@@ -77,9 +77,9 @@ static int sane_layout(int64_t layout){
int swr_rematrix_init(SwrContext *s){
int i, j, in_i, out_i;
float matrix[64][64]={0};
double matrix[64][64]={0};
int64_t unaccounted= s->in_ch_layout & ~s->out_ch_layout;
float maxcoef=0;
double maxcoef=0;
for(i=0; i<64; i++){
if(s->in_ch_layout & s->out_ch_layout & (1LL<<i))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment