Skip to content

Commit

Permalink
initialize RLE pixels
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Jan 23, 2023
1 parent a3b0625 commit 5693f20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coders/wpg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1839,6 +1839,7 @@ static void WPGInitializeRLE(WPGRLEInfo *rle_info)
{
rle_info->count=0;
rle_info->offset=0;
(void) memset(rle_info->pixels,0,sizeof(rle_info->pixels));
}

static MagickBooleanType WriteWPGImage(const ImageInfo *image_info,Image *image)
Expand Down

0 comments on commit 5693f20

Please sign in to comment.