summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/image.c b/ext/standard/image.c
index 9960f6fff0..da4ca7c7fa 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->width = php_read4(stream TSRMLS_CC); /* Ysiz */
- result->height = php_read4(stream TSRMLS_CC); /* Xsiz */
+ result->width = php_read4(stream TSRMLS_CC); /* Xsiz */
+ result->height = php_read4(stream TSRMLS_CC); /* Ysiz */
#if MBO_0
php_read4(stream TSRMLS_CC); /* XOsiz */