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
b956373b
Commit
b956373b
authored
Feb 01, 2007
by
Kostya Shishkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for out-of-bounds access
Originally committed as revision 7797 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
286c7107
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vc1.c
libavcodec/vc1.c
+2
-2
No files found.
libavcodec/vc1.c
View file @
b956373b
...
@@ -2890,8 +2890,8 @@ static int vc1_decode_i_block_adv(VC1Context *v, DCTELEM block[64], int n, int c
...
@@ -2890,8 +2890,8 @@ static int vc1_decode_i_block_adv(VC1Context *v, DCTELEM block[64], int n, int c
ac_val
-=
16
*
s
->
block_wrap
[
n
];
ac_val
-=
16
*
s
->
block_wrap
[
n
];
q1
=
s
->
current_picture
.
qscale_table
[
mb_pos
];
q1
=
s
->
current_picture
.
qscale_table
[
mb_pos
];
if
(
dc_pred_dir
&&
c_avail
)
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
1
];
if
(
dc_pred_dir
&&
c_avail
&&
mb_pos
)
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
1
];
if
(
!
dc_pred_dir
&&
a_avail
)
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
s
->
mb_stride
];
if
(
!
dc_pred_dir
&&
a_avail
&&
mb_pos
>=
s
->
mb_stride
)
q2
=
s
->
current_picture
.
qscale_table
[
mb_pos
-
s
->
mb_stride
];
if
(
n
&&
n
<
4
)
q2
=
q1
;
if
(
n
&&
n
<
4
)
q2
=
q1
;
if
(
coded
)
{
if
(
coded
)
{
...
...
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