Closed
Bug 217025
Opened 22 years ago
Closed 22 years ago
GIF decoder cleanup
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
People
(Reporter: tor, Assigned: tor)
Details
Attachments
(2 files)
8.07 KB,
patch
|
pavlov
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
2.08 KB,
patch
|
pavlov
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
Late spring cleaning of the GIF decoder - removing unused state structure
members, function prototypes, and a header file.
Attachment #130243 -
Flags: superreview?(darin)
Attachment #130243 -
Flags: review?(pavlov)
Updated•22 years ago
|
Attachment #130243 -
Flags: review?(pavlov) → review+
Updated•22 years ago
|
Attachment #130243 -
Flags: superreview?(darin) → superreview+
Checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 3•22 years ago
|
||
Comment on attachment 130243 [details] [diff] [review]
cleanup
>Index: GIF2.cpp
>@@ -930,11 +918,9 @@
> gs->local_colormap_size = num_colors;
>
> /* Switch to the new local palette after it loads */
>- gs->is_local_colormap_defined = PR_TRUE;
> GETN(gs->local_colormap_size * 3, gif_image_colormap);
> } else {
> /* Switch back to the global palette */
>- gs->is_local_colormap_defined = PR_FALSE;
> GETN(1, gif_lzw_start);
> }
Hmm, you might want to have cleaned up those comments, too, while you were at
it.
Thanks for bringing that to my attention - upon a review of the gif
specification and the code, it turns out we weren't properly handling
the case where we're supposed to switch back to the global colormap
after finishing an image block with a local colormap.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #131241 -
Flags: superreview?(darin)
Attachment #131241 -
Flags: review?(pavlov)
Comment 6•22 years ago
|
||
Yep, I was wondering about that specific change.
Updated•22 years ago
|
Attachment #131241 -
Flags: review?(pavlov) → review+
Updated•22 years ago
|
Attachment #131241 -
Flags: superreview?(darin) → superreview+
Checked in.
Status: REOPENED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•