mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 05:38:22 +01:00
Merge "silence one more warning" into 0.2.0
This commit is contained in:
commit
52a87dd7ff
@ -234,8 +234,10 @@ static int EncodeAlpha(VP8Encoder* const enc,
|
||||
|
||||
// Try the other mode(s).
|
||||
{
|
||||
WebPAuxStats best_stats = { 0 };
|
||||
WebPAuxStats best_stats;
|
||||
size_t best_score = VP8BitWriterSize(&bw);
|
||||
|
||||
memset(&best_stats, 0, sizeof(best_stats)); // prevent spurious warning
|
||||
if (pic->stats != NULL) best_stats = *pic->stats;
|
||||
for (test_filter = WEBP_FILTER_HORIZONTAL;
|
||||
ok && (test_filter <= WEBP_FILTER_GRADIENT);
|
||||
|
Loading…
Reference in New Issue
Block a user