diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-01-28 14:41:02 +0000 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-01-29 17:33:38 +0000 |
commit | 70d246d5cc3d214da11f711d997d8cbd8c3a23d1 (patch) | |
tree | 5f5ab29972342a45429b685598109bdf1ac63484 /libavcodec/flacenc.c | |
parent | c01ccccbb13f464e74bb8498a8c573a66c430ca0 (diff) | |
download | ffmpeg-70d246d5cc3d214da11f711d997d8cbd8c3a23d1.tar.gz |
flacenc: initialize sums matrix
CC: libav-stable@libav.org
Bug-Id: CID 703821
Diffstat (limited to 'libavcodec/flacenc.c')
-rw-r--r-- | libavcodec/flacenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 1160da2ecd..2277cf3f5f 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -617,7 +617,7 @@ static uint64_t calc_rice_params(RiceContext *rc, int pmin, int pmax, int opt_porder; RiceContext tmp_rc; uint32_t *udata; - uint64_t sums[MAX_PARTITION_ORDER+1][MAX_PARTITIONS]; + uint64_t sums[MAX_PARTITION_ORDER + 1][MAX_PARTITIONS] = { { 0 } }; assert(pmin >= 0 && pmin <= MAX_PARTITION_ORDER); assert(pmax >= 0 && pmax <= MAX_PARTITION_ORDER); |