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
fbab9a7c
Commit
fbab9a7c
authored
Sep 12, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/smacker: remove check that has become redundant
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
59a08d19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
smacker.c
libavcodec/smacker.c
+0
-5
No files found.
libavcodec/smacker.c
View file @
fbab9a7c
...
@@ -279,11 +279,6 @@ static int smacker_decode_header_tree(SmackVContext *smk, GetBitContext *gb, int
...
@@ -279,11 +279,6 @@ static int smacker_decode_header_tree(SmackVContext *smk, GetBitContext *gb, int
if
(
ctx
.
last
[
0
]
==
-
1
)
ctx
.
last
[
0
]
=
huff
.
current
++
;
if
(
ctx
.
last
[
0
]
==
-
1
)
ctx
.
last
[
0
]
=
huff
.
current
++
;
if
(
ctx
.
last
[
1
]
==
-
1
)
ctx
.
last
[
1
]
=
huff
.
current
++
;
if
(
ctx
.
last
[
1
]
==
-
1
)
ctx
.
last
[
1
]
=
huff
.
current
++
;
if
(
ctx
.
last
[
2
]
==
-
1
)
ctx
.
last
[
2
]
=
huff
.
current
++
;
if
(
ctx
.
last
[
2
]
==
-
1
)
ctx
.
last
[
2
]
=
huff
.
current
++
;
if
(
huff
.
current
>
huff
.
length
){
ctx
.
last
[
0
]
=
ctx
.
last
[
1
]
=
ctx
.
last
[
2
]
=
1
;
av_log
(
smk
->
avctx
,
AV_LOG_ERROR
,
"bigtree damaged
\n
"
);
return
AVERROR_INVALIDDATA
;
}
if
(
ctx
.
last
[
0
]
>=
huff
.
length
||
if
(
ctx
.
last
[
0
]
>=
huff
.
length
||
ctx
.
last
[
1
]
>=
huff
.
length
||
ctx
.
last
[
1
]
>=
huff
.
length
||
ctx
.
last
[
2
]
>=
huff
.
length
)
{
ctx
.
last
[
2
]
>=
huff
.
length
)
{
...
...
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