Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Michael A. (Mike) Iovine
p1
Commits
93fc1848
Commit
93fc1848
authored
5 years ago
by
Mike Iovine
Browse files
Options
Download
Email Patches
Plain Diff
Don't pad at end of blocks
parent
3b264b70
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/inflate/inflate.c
+3
-3
src/inflate/inflate.c
with
3 additions
and
3 deletions
+3
-3
src/inflate/inflate.c
View file @
93fc1848
...
...
@@ -372,9 +372,9 @@ bool read_block(char *buf, FILE *out) {
while
(
chunk_val
!=
256
);
/* Skip over filler at the end of the block */
while
(
_CUR_BIT
%
8
!=
0
)
{
_CUR_BIT
+=
1
;
}
//
while (_CUR_BIT % 8 != 0) {
//
_CUR_BIT += 1;
//
}
if
(
btype
==
DYNAMIC
)
{
destroy_huffman
(
hf
);
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help