AmitGorvadiya / leptonica

Automatically exported from code.google.com/p/leptonica
0 stars 0 forks source link

Wrong mode string in v1.71 tiffio.c -> findTiffCompression() #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download liblept v1.71 code
2. Compile for Windows (I used VS2013)
3. Try to call pixRead() on a TIFF file

What is the expected output? What do you see instead?
Expected TIFF file to load and PIX to be created. Instead, TIFF fails to load 
because the call in findTiffCompression() to fopenTiff is passing "fb" instead 
of "rb".

What version of the product are you using? On what operating system?
v1.71, Windows, VS2013

Please provide any additional information below.

Original issue reported on code.google.com by dcree...@gmail.com on 20 Aug 2014 at 3:37