• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
MAINTENANCE ANNOUNCEMENT - JIRA will undergo maintenance starting 1:00am PDT through 3:00am on Saturday 2010.03.20. Please do not enter issues during this time as the system maybe restarted.
Issue Details (XML | Word | Printable)

Key: VWR-113
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tofu Linden
Reporter: SpacedOut Frye
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

bad getMetadata return code

Created: 08/Feb/07 06:26 PM   Updated: 07/Dec/08 08:22 PM
Component/s: Graphics, Performance
Affects Version/s: Source code
Fix Version/s: 1.13.4.x

Time Tracking:
Not Specified

Environment: Debian Linux, x86_64, AMD x2 64bit, OpenJPEG, ATI Radeon Xpress 1100
Issue Links:
Duplicate
 

Source Version: FL-1.13.3.57679
Linden Lab Issue ID: DEV-3764
Patch attached: Patch attached


 Description  « Hide
patch against slviewer-src-FL-1.13.3.57679.tar.gz

LLImageJ2COJ::getMetadata returns an integer, 0 fail, 1 succeed but both data paths return 1 I guess that means it never figures out that the decode fails.

If the image decode failed, return false not true. It helps to toss out invalid images,
[ERROR] tcd_decode: incomplete bistream



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
SpacedOut Frye added a comment - 09/Mar/07 05:27 PM
VWR-123 fixes this issue in addition to others.

Tofu Linden added a comment - 16/Mar/07 04:50 AM
Fixed by VWR-123 landing.

Rob Linden added a comment - 07/Dec/08 08:22 PM
Changing resolution to make patch accounting easier.