We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17bdab4 commit 781d89cCopy full SHA for 781d89c
gif.lua
@@ -439,16 +439,11 @@ local function open_gif(filename)
439
end
440
441
442
- local max_used_color_index
443
-
444
repeat
445
-- LZW_voc: [code] = {prefix_code, color_index}
446
-- all the codes (CLEAR_VOC+2)...(first_undefined_code-2) are defined completely
447
-- the code (first_undefined_code-1) has defined only its first component
448
local code = read_code_from_stream()
449
- if code < CLEAR_VOC then
450
- max_used_color_index = math.max(max_used_color_index or 0, code)
451
- end
452
if code == CLEAR_VOC then
453
clear_LZW_voc()
454
elseif code ~= END_OF_STREAM then
0 commit comments