mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
flacenc: initialize sums matrix
CC: libav-stable@libav.org Bug-Id: CID 703821
This commit is contained in:
parent
c01ccccbb1
commit
70d246d5cc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user