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
2a6eb062
Commit
2a6eb062
authored
Nov 03, 2011
by
Alex Converse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp6: Fix illegal read.
parent
0d7a16a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vp6.c
libavcodec/vp6.c
+3
-1
No files found.
libavcodec/vp6.c
View file @
2a6eb062
...
...
@@ -376,7 +376,7 @@ static void vp6_parse_coeff_huffman(VP56Context *s)
if
(
b
>
3
)
pt
=
1
;
vlc_coeff
=
&
s
->
dccv_vlc
[
pt
];
for
(
coeff_idx
=
0
;
coeff_idx
<
64
;
)
{
for
(
coeff_idx
=
0
;;
)
{
int
run
=
1
;
if
(
coeff_idx
<
2
&&
s
->
nb_null
[
coeff_idx
][
pt
])
{
s
->
nb_null
[
coeff_idx
][
pt
]
--
;
...
...
@@ -413,6 +413,8 @@ static void vp6_parse_coeff_huffman(VP56Context *s)
}
}
coeff_idx
+=
run
;
if
(
coeff_idx
>=
64
)
break
;
cg
=
FFMIN
(
vp6_coeff_groups
[
coeff_idx
],
3
);
vlc_coeff
=
&
s
->
ract_vlc
[
pt
][
ct
][
cg
];
}
...
...
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