cosmetics: jpegdec

- squash some whitespace
- remove unnecessary pointer check

Change-Id: I06208566a5621786479956ea658434f5c4d62fcc
This commit is contained in:
James Zern 2012-12-10 23:26:11 -08:00
parent 1c1c5646a5
commit d3dace2ff0

View File

@ -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