Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
eafcf918
Commit
eafcf918
authored
Jun 07, 2010
by
Fredrik Söderquist
Committed by
John Koleszar
Jul 23, 2010
Browse files
Only touch ctx->priv if vp8_mmap_alloc succeeded.
parent
0ce39012
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/vp8_dx_iface.c
View file @
eafcf918
...
...
@@ -223,11 +223,12 @@ static vpx_codec_err_t vp8_init(vpx_codec_ctx_t *ctx)
res
=
vp8_mmap_alloc
(
&
mmap
);
if
(
!
res
)
{
vp8_init_ctx
(
ctx
,
&
mmap
);
ctx
->
priv
->
alg_priv
->
defer_alloc
=
1
;
/*post processing level initialized to do nothing */
ctx
->
priv
->
alg_priv
->
defer_alloc
=
1
;
/*post processing level initialized to do nothing */
}
}
return
res
;
...
...
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