OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1133676
)
rematrix: use double during init.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 19 Sep 2011 06:44:49 +0000
(08:44 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 19 Sep 2011 06:44:49 +0000
(08:44 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswresample/rematrix.c
patch
|
blob
|
history
diff --git
a/libswresample/rematrix.c
b/libswresample/rematrix.c
index
fc4b2a7
..
baed977
100644
(file)
--- a/
libswresample/rematrix.c
+++ b/
libswresample/rematrix.c
@@
-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))