]> granicus.if.org Git - php/commitdiff
- This must be == 1
authorMarcus Boerger <helly@php.net>
Thu, 24 Feb 2005 20:22:18 +0000 (20:22 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 24 Feb 2005 20:22:18 +0000 (20:22 +0000)
ext/standard/image.c

index cc2bdb0cd37e633e9b172c7f42f7975c9fd2f801..42bc40b1b94e5a3ec008dcaba7ba99e1b812e188 100644 (file)
@@ -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;
                }