Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
noVNC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
noVNC
Commits
a14b8fae
Commit
a14b8fae
authored
Jan 30, 2012
by
Mike Tinglof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comment out per-decompress checksum and logging
parent
2cedf483
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
rfb.js
include/rfb.js
+3
-2
No files found.
include/rfb.js
View file @
a14b8fae
...
...
@@ -1312,8 +1312,8 @@ encHandlers.TIGHT = function display_tight() {
var
uncompressed
=
FBU
.
zlibs
[
streamId
].
uncompress
(
data
,
0
);
if
(
uncompressed
.
status
!==
0
)
throw
(
"Invalid data in zlib stream"
);
Util
.
Warn
(
"Decompressed "
+
data
.
length
+
" to "
+
uncompressed
.
data
.
length
+
" checksums "
+
checksum
(
data
)
+
":"
+
checksum
(
uncompressed
.
data
));
//
Util.Warn("Decompressed " + data.length + " to " + uncompressed.data.length + " checksums " +
//
checksum(data) + ":" + checksum(uncompressed.data));
return
uncompressed
.
data
;
}
...
...
@@ -1347,6 +1347,7 @@ encHandlers.TIGHT = function display_tight() {
data
=
decompress
(
ws
.
rQshiftBytes
(
clength
[
1
]));
// Convert indexed (palette based) image data to RGB
// TODO: reduce number of calculations inside loop
var
dest
=
[];
var
x
,
y
,
b
;
if
(
numColors
==
2
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment