leptonica: note about when it may be safe to drop <1.72 workaround

This commit is contained in:
James R. Barlow
2016-08-03 00:54:37 -07:00
parent ebe68de4ff
commit 2b10df7b74
+2 -1
View File
@@ -362,7 +362,8 @@ class Pix:
if get_leptonica_version() < 'leptonica-1.72':
# Older versions of Leptonica (pre-1.72) have a buggy
# implementation of pixCorrelationBinary that overflows on larger
# images.
# images. Ubuntu trusty has 1.70. Ubuntu PPA
# ppa:rebuntu16/avidemux+unofficial has "leptonlib" 1.73.
pix1_count = ffi.new('l_int32 *')
pix2_count = ffi.new('l_int32 *')
pixn_count = ffi.new('l_int32 *')