Oops
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1066 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -1133,7 +1133,7 @@ DLLEXPORT int DLLCALL tjDecompressToYUV2(tjhandle handle,
|
|||||||
jpeg_read_header(dinfo, TRUE);
|
jpeg_read_header(dinfo, TRUE);
|
||||||
jpegSubsamp=getSubsamp(dinfo);
|
jpegSubsamp=getSubsamp(dinfo);
|
||||||
if(jpegSubsamp<0)
|
if(jpegSubsamp<0)
|
||||||
_throw("tjTransform(): Could not determine subsampling type for JPEG image");
|
_throw("tjDecompressToYUV2: Could not determine subsampling type for JPEG image");
|
||||||
|
|
||||||
jpegwidth=dinfo->image_width; jpegheight=dinfo->image_height;
|
jpegwidth=dinfo->image_width; jpegheight=dinfo->image_height;
|
||||||
if(width==0) width=jpegwidth;
|
if(width==0) width=jpegwidth;
|
||||||
|
|||||||
Reference in New Issue
Block a user