Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f39c3c88
Commit
f39c3c88
authored
Mar 26, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
factorize &
Originally committed as revision 8525 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
0abfd533
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lzw.c
libavcodec/lzw.c
+3
-3
No files found.
libavcodec/lzw.c
View file @
f39c3c88
...
...
@@ -78,17 +78,17 @@ static int lzw_get_code(struct LZWState * s)
s
->
bbits
+=
8
;
s
->
bs
--
;
}
c
=
s
->
bbuf
&
s
->
curmask
;
c
=
s
->
bbuf
;
s
->
bbuf
>>=
s
->
cursize
;
}
else
{
// TIFF
while
(
s
->
bbits
<
s
->
cursize
)
{
s
->
bbuf
=
(
s
->
bbuf
<<
8
)
|
(
*
s
->
pbuf
++
);
s
->
bbits
+=
8
;
}
c
=
(
s
->
bbuf
>>
(
s
->
bbits
-
s
->
cursize
))
&
s
->
curmask
;
c
=
s
->
bbuf
>>
(
s
->
bbits
-
s
->
cursize
)
;
}
s
->
bbits
-=
s
->
cursize
;
return
c
;
return
c
&
s
->
curmask
;
}
uint8_t
*
ff_lzw_cur_ptr
(
LZWState
*
p
)
...
...
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