mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-25 13:18:22 +01:00
cosmetics: jpegdec
- squash some whitespace - remove unnecessary pointer check Change-Id: I06208566a5621786479956ea658434f5c4d62fcc
This commit is contained in:
parent
1c1c5646a5
commit
d3dace2ff0
@ -99,9 +99,7 @@ int ReadJPEG(FILE* in_file, WebPPicture* const pic) {
|
|||||||
ok = WebPPictureImportRGB(pic, rgb, stride);
|
ok = WebPPictureImportRGB(pic, rgb, stride);
|
||||||
|
|
||||||
End:
|
End:
|
||||||
if (rgb) {
|
|
||||||
free(rgb);
|
free(rgb);
|
||||||
}
|
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
#else // !WEBP_HAVE_JPEG
|
#else // !WEBP_HAVE_JPEG
|
||||||
|
Loading…
Reference in New Issue
Block a user