| Index: source/libvpx/vp8/vp8_dx_iface.c
|
| diff --git a/source/libvpx/vp8/vp8_dx_iface.c b/source/libvpx/vp8/vp8_dx_iface.c
|
| index 67a0fef64af9bd6b3fd8d60bef2e732bbfa0768a..72e4770c008d986b5d148ef828ce49fd2918a119 100644
|
| --- a/source/libvpx/vp8/vp8_dx_iface.c
|
| +++ b/source/libvpx/vp8/vp8_dx_iface.c
|
| @@ -11,7 +11,9 @@
|
|
|
| #include <stdlib.h>
|
| #include <string.h>
|
| -#include "vp8_rtcd.h"
|
| +#include "./vp8_rtcd.h"
|
| +#include "./vpx_dsp_rtcd.h"
|
| +#include "./vpx_scale_rtcd.h"
|
| #include "vpx/vpx_decoder.h"
|
| #include "vpx/vp8dx.h"
|
| #include "vpx/internal/vpx_codec_internal.h"
|
| @@ -106,6 +108,8 @@ static vpx_codec_err_t vp8_init(vpx_codec_ctx_t *ctx,
|
| (void) data;
|
|
|
| vp8_rtcd();
|
| + vpx_dsp_rtcd();
|
| + vpx_scale_rtcd();
|
|
|
| /* This function only allocates space for the vpx_codec_alg_priv_t
|
| * structure. More memory may be required at the time the stream
|
| @@ -286,8 +290,8 @@ update_fragments(vpx_codec_alg_priv_t *ctx,
|
| if (ctx->fragments.count == 0)
|
| {
|
| /* New frame, reset fragment pointers and sizes */
|
| - vpx_memset((void*)ctx->fragments.ptrs, 0, sizeof(ctx->fragments.ptrs));
|
| - vpx_memset(ctx->fragments.sizes, 0, sizeof(ctx->fragments.sizes));
|
| + memset((void*)ctx->fragments.ptrs, 0, sizeof(ctx->fragments.ptrs));
|
| + memset(ctx->fragments.sizes, 0, sizeof(ctx->fragments.sizes));
|
| }
|
| if (ctx->fragments.enabled && !(data == NULL && data_sz == 0))
|
| {
|
|
|