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 - [patch] Remove unnecessary loop from IMG_tif.c
Summary: [patch] Remove unnecessary loop from IMG_tif.c
Status: RESOLVED FIXED
Alias: None
Product: SDL_image
Classification: Unclassified
Component: misc (show other bugs)
Version: 2.0.1
Hardware: x86_64 Linux
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-28 16:42 UTC by Daniel
Modified: 2016-11-01 17:40 UTC (History)
0 users

See Also:


Attachments
Patch (2.36 KB, patch)
2016-10-28 16:42 UTC, Daniel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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