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
a30a8bee
Commit
a30a8bee
authored
Sep 11, 2015
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vp9: Fix emu[] edge overflow conditions for >8bpp/non-420.
parent
2563a338
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vp9.c
libavcodec/vp9.c
+2
-2
No files found.
libavcodec/vp9.c
View file @
a30a8bee
...
...
@@ -3301,9 +3301,9 @@ static void decode_b(AVCodecContext *ctx, int row, int col,
// emulated overhangs if the stride of the target buffer can't hold. This
// makes it possible to support emu-edge and so on even if we have large block
// overhangs
emu
[
0
]
=
(
col
+
w4
)
*
8
>
f
->
linesize
[
0
]
||
emu
[
0
]
=
(
col
+
w4
)
*
8
*
bytesperpixel
>
f
->
linesize
[
0
]
||
(
row
+
h4
)
>
s
->
rows
;
emu
[
1
]
=
(
col
+
w4
)
*
4
>
f
->
linesize
[
1
]
||
emu
[
1
]
=
(
(
col
+
w4
)
*
8
>>
s
->
ss_h
)
*
bytesperpixel
>
f
->
linesize
[
1
]
||
(
row
+
h4
)
>
s
->
rows
;
if
(
emu
[
0
])
{
s
->
dst
[
0
]
=
s
->
tmp_y
;
...
...
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