From: Marcus Boerger Date: Thu, 24 Feb 2005 20:22:18 +0000 (+0000) Subject: - This must be == 1 X-Git-Tag: RELEASE_0_3~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72dc2d10253361cfbb6f3a04f3c39a084de40fcb;p=php - This must be == 1 --- diff --git a/ext/standard/image.c b/ext/standard/image.c index cc2bdb0cd3..42bc40b1b9 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -687,7 +687,7 @@ static struct gfxinfo *php_handle_jp2(php_stream *stream TSRMLS_DC) break; } - if (box_length <= 1) { + if (box_length == 1) { /* We won't handle XLBoxes */ return NULL; }