From: Ilia Alshanetsky Date: Sun, 6 Mar 2005 17:03:43 +0000 (+0000) Subject: Fixed bug #29424 (width and height inverted for JPEG2000 files). X-Git-Tag: RELEASE_0_3~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8687cdb79a4733b9443f8f1373c19840e0aa3d6;p=php Fixed bug #29424 (width and height inverted for JPEG2000 files). --- diff --git a/ext/standard/image.c b/ext/standard/image.c index a049284dfb..9960f6fff0 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -625,8 +625,8 @@ static struct gfxinfo *php_handle_jpc(php_stream * stream TSRMLS_DC) dummy_short = php_read2(stream TSRMLS_CC); /* Lsiz */ dummy_short = php_read2(stream TSRMLS_CC); /* Rsiz */ - result->height = php_read4(stream TSRMLS_CC); /* Xsiz */ result->width = php_read4(stream TSRMLS_CC); /* Ysiz */ + result->height = php_read4(stream TSRMLS_CC); /* Xsiz */ #if MBO_0 php_read4(stream TSRMLS_CC); /* XOsiz */