Skip to content

Commit

Permalink
Fix memcpy/sizeof typo in avifImageCopy
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino authored and wantehchang committed Jan 30, 2021
1 parent ceb2fa0 commit e86e59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/avif.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void avifImageCopy(avifImage * dstImage, const avifImage * srcImage, uint32_t pl
memcpy(&dstImage->pasp, &srcImage->pasp, sizeof(dstImage->pasp));
memcpy(&dstImage->clap, &srcImage->clap, sizeof(dstImage->clap));
memcpy(&dstImage->irot, &srcImage->irot, sizeof(dstImage->irot));
memcpy(&dstImage->imir, &srcImage->imir, sizeof(dstImage->pasp));
memcpy(&dstImage->imir, &srcImage->imir, sizeof(dstImage->imir));

avifImageSetProfileICC(dstImage, srcImage->icc.data, srcImage->icc.size);

Expand Down

0 comments on commit e86e59f

Please sign in to comment.