Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guillaume Martres
aom-rav1e
Commits
f2cb97bb
Commit
f2cb97bb
authored
Oct 15, 2013
by
Yaowu Xu
Committed by
Gerrit Code Review
Oct 15, 2013
Browse files
Merge "Prevent access to invalid pointer"
parents
da9e67ce
ff1083c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/vp9_dx_iface.c
View file @
f2cb97bb
...
...
@@ -658,8 +658,10 @@ static vpx_codec_err_t get_frame_corrupted(vpx_codec_alg_priv_t *ctx,
if
(
corrupted
)
{
VP9D_COMP
*
pbi
=
(
VP9D_COMP
*
)
ctx
->
pbi
;
*
corrupted
=
pbi
->
common
.
frame_to_show
->
corrupted
;
if
(
pbi
)
*
corrupted
=
pbi
->
common
.
frame_to_show
->
corrupted
;
else
return
VPX_CODEC_ERROR
;
return
VPX_CODEC_OK
;
}
else
{
return
VPX_CODEC_INVALID_PARAM
;
...
...
Write
Preview
Supports
Markdown
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