fix some warnings: down-cast and possibly-uninitialized variable

Change-Id: I5baf59bbcd5dcff69316b0601483ff5abe8e1454
This commit is contained in:
Pascal Massimino
2012-03-16 09:51:34 +00:00
committed by James Zern
parent 0a7102ba60
commit cd8c3ba78f
3 changed files with 6 additions and 6 deletions

View File

@ -551,6 +551,7 @@ static void ParseResiduals(VP8Decoder* const dec,
uint32_t non_zero_dc = 0;
int x, y, ch;
nz_dc.i32 = nz_ac.i32 = 0;
memset(dst, 0, 384 * sizeof(*dst));
if (!dec->is_i4x4_) { // parse DC
int16_t dc[16] = { 0 };