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
0abfd533
Commit
0abfd533
authored
17 years ago
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify
Originally committed as revision 8524 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ed186431
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
lzw.c
libavcodec/lzw.c
+1
-10
No files found.
libavcodec/lzw.c
View file @
0abfd533
...
...
@@ -152,16 +152,7 @@ int ff_lzw_decode_init(LZWState *p, int csize, uint8_t *buf, int buf_size, int m
s
->
sp
=
s
->
stack
;
s
->
mode
=
mode
;
switch
(
s
->
mode
){
case
FF_LZW_GIF
:
s
->
extra_slot
=
0
;
break
;
case
FF_LZW_TIFF
:
s
->
extra_slot
=
1
;
break
;
default:
return
-
1
;
}
s
->
extra_slot
=
s
->
mode
==
FF_LZW_TIFF
;
return
0
;
}
...
...
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