[FFmpeg-cvslog] rematrix: use double during init.

Michael Niedermayer git at videolan.org
Mon Sep 19 08:50:51 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Sep 19 08:44:49 2011 +0200| [c3c1af6dc626a0677ec93ca10643ef2cc480814d] | committer: Michael Niedermayer

rematrix: use double during init.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c3c1af6dc626a0677ec93ca10643ef2cc480814d
---

 libswresample/rematrix.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c
index fc4b2a7..baed977 100644
--- 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))



More information about the ffmpeg-cvslog mailing list