diff options
author | James Zern <jzern@google.com> | 2015-09-09 22:53:28 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2015-09-09 23:15:59 -0700 |
commit | a124bc7a816d0b7d4eda64c253eb5083f8284cc8 (patch) | |
tree | 19405a3d845ab74ec00d8714ed488efe87a13c89 /vp10/vp10_dx_iface.c | |
parent | a2e61adc96033c39416f7e9caf935c68887b6adf (diff) | |
download | libvpx-a124bc7a816d0b7d4eda64c253eb5083f8284cc8.tar libvpx-a124bc7a816d0b7d4eda64c253eb5083f8284cc8.tar.gz libvpx-a124bc7a816d0b7d4eda64c253eb5083f8284cc8.tar.bz2 libvpx-a124bc7a816d0b7d4eda64c253eb5083f8284cc8.zip |
vp9/10 decoder_init: add missing alloc cast
Change-Id: I1ba4400d67095f3a360fb7d97ee8d118d4f741fe
Diffstat (limited to 'vp10/vp10_dx_iface.c')
-rw-r--r-- | vp10/vp10_dx_iface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vp10/vp10_dx_iface.c b/vp10/vp10_dx_iface.c index c6e18743e..5795a4db2 100644 --- a/vp10/vp10_dx_iface.c +++ b/vp10/vp10_dx_iface.c @@ -88,7 +88,8 @@ static vpx_codec_err_t decoder_init(vpx_codec_ctx_t *ctx, (void)data; if (!ctx->priv) { - vpx_codec_alg_priv_t *const priv = vpx_calloc(1, sizeof(*priv)); + vpx_codec_alg_priv_t *const priv = + (vpx_codec_alg_priv_t *)vpx_calloc(1, sizeof(*priv)); if (priv == NULL) return VPX_CODEC_MEM_ERROR; |