Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
90c0c83e
Commit
90c0c83e
authored
Jan 26, 2012
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smacker: remove dead store
parent
dac56d9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
smacker.c
libavcodec/smacker.c
+1
-3
No files found.
libavcodec/smacker.c
View file @
90c0c83e
...
...
@@ -334,16 +334,14 @@ static av_always_inline void last_reset(int *recode, int *last) {
/* get code and update history */
static
av_always_inline
int
smk_get_code
(
GetBitContext
*
gb
,
int
*
recode
,
int
*
last
)
{
register
int
*
table
=
recode
;
int
v
,
b
;
int
v
;
b
=
get_bits_count
(
gb
);
while
(
*
table
&
SMK_NODE
)
{
if
(
get_bits1
(
gb
))
table
+=
(
*
table
)
&
(
~
SMK_NODE
);
table
++
;
}
v
=
*
table
;
b
=
get_bits_count
(
gb
)
-
b
;
if
(
v
!=
recode
[
last
[
0
]])
{
recode
[
last
[
2
]]
=
recode
[
last
[
1
]];
...
...
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