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
b54b40b3
Commit
b54b40b3
authored
Feb 13, 2012
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rv40: prevent undefined signed overflow in rv40_loop_filter()
parent
29330721
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
rv40.c
libavcodec/rv40.c
+3
-2
No files found.
libavcodec/rv40.c
View file @
b54b40b3
...
...
@@ -357,7 +357,7 @@ static void rv40_loop_filter(RV34DecContext *r, int row)
* in addition to the coded ones because because they lie at the edge of
* 8x8 block with different enough motion vectors
*/
int
mvmasks
[
4
];
unsigned
mvmasks
[
4
];
mb_pos
=
row
*
s
->
mb_stride
;
for
(
mb_x
=
0
;
mb_x
<
s
->
mb_width
;
mb_x
++
,
mb_pos
++
){
...
...
@@ -373,7 +373,8 @@ static void rv40_loop_filter(RV34DecContext *r, int row)
int
c_v_deblock
[
2
],
c_h_deblock
[
2
];
int
clip_left
;
int
avail
[
4
];
int
y_to_deblock
,
c_to_deblock
[
2
];
unsigned
y_to_deblock
;
int
c_to_deblock
[
2
];
q
=
s
->
current_picture_ptr
->
f
.
qscale_table
[
mb_pos
];
alpha
=
rv40_alpha_tab
[
q
];
...
...
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