mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-30 16:42:55 +01:00
Merge "muxedit: silence some uninitialized warnings"
This commit is contained in:
commit
241cf99bc0
@ -487,7 +487,7 @@ static WebPMuxError GetImageCanvasWidthHeight(
|
|||||||
int64_t image_area = 0;
|
int64_t image_area = 0;
|
||||||
// Aggregate the bounding box for animation frames & fragmented images.
|
// Aggregate the bounding box for animation frames & fragmented images.
|
||||||
for (; wpi != NULL; wpi = wpi->next_) {
|
for (; wpi != NULL; wpi = wpi->next_) {
|
||||||
int x_offset, y_offset, duration, w, h;
|
int x_offset = 0, y_offset = 0, duration = 0, w = 0, h = 0;
|
||||||
const WebPMuxError err = GetImageInfo(wpi, &x_offset, &y_offset,
|
const WebPMuxError err = GetImageInfo(wpi, &x_offset, &y_offset,
|
||||||
&duration, &w, &h);
|
&duration, &w, &h);
|
||||||
const int max_x_pos = x_offset + w;
|
const int max_x_pos = x_offset + w;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user