[FFmpeg-cvslog] libswr/rematrix: add braces to silence a warning.

Nicolas George git at videolan.org
Wed Sep 28 16:31:19 CEST 2011


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sun Sep 25 13:24:40 2011 +0200| [80287854c2ac2ace8045d9e157459b46dc292dde] | committer: Michael Niedermayer

libswr/rematrix: add braces to silence a warning.

Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c
index f8ba737..eaf7653 100644
--- a/libswresample/rematrix.c
+++ b/libswresample/rematrix.c
@@ -83,7 +83,7 @@ static int sane_layout(int64_t layout){
 
 int swr_rematrix_init(SwrContext *s){
     int i, j, in_i, out_i;
-    double matrix[64][64]={0};
+    double matrix[64][64]={{0}};
     int64_t unaccounted= s->in_ch_layout & ~s->out_ch_layout;
     double maxcoef=0;
 



More information about the ffmpeg-cvslog mailing list