mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 13:59:51 +02:00
quiet a few 'uninitialized' warnings
spurious in this case, but addresses e.g., ... potentially uninitialized local variable 'weighted_average' used Change-Id: Ib99998bf49e4af7a82ee66f13fb850ca5b17dc71
This commit is contained in:
@ -234,7 +234,7 @@ static int EncodeAlpha(VP8Encoder* const enc,
|
||||
|
||||
// Try the other mode(s).
|
||||
{
|
||||
WebPAuxStats best_stats;
|
||||
WebPAuxStats best_stats = { 0 };
|
||||
size_t best_score = VP8BitWriterSize(&bw);
|
||||
if (pic->stats != NULL) best_stats = *pic->stats;
|
||||
for (test_filter = WEBP_FILTER_HORIZONTAL;
|
||||
|
Reference in New Issue
Block a user