We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3475

Summary: [patch] Remove unnecessary loop from IMG_tif.c
Product: SDL_image Reporter: Daniel <daniel.plakhotich>
Component: miscAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.1   
Hardware: x86_64   
OS: Linux   
Attachments: Patch

Description Daniel 2016-10-28 16:42:52 UTC
Created attachment 2593 [details]
Patch

This patch removes unnecessary loop from IMG_tif.c by using TIFFReadRGBAImageOriented() with ORIENTATION_TOPLEFT (TIFFReadRGBAImageis just an alias for TIFFReadRGBAImageOriented with ORIENTATION_BOTLEFT).
Comment 1 Sam Lantinga 2016-11-01 17:40:25 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL_image/rev/b6f8fbe5a386