diff options
-rw-r--r-- | vp8/common/onyxd.h | 3 | ||||
-rw-r--r-- | vp8/decoder/onyxd_if.c | 5 | ||||
-rw-r--r-- | vp8/vp8_dx_iface.c | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/vp8/common/onyxd.h b/vp8/common/onyxd.h index 801ef87b2..e4e81aaac 100644 --- a/vp8/common/onyxd.h +++ b/vp8/common/onyxd.h @@ -41,8 +41,7 @@ void vp8dx_set_setting(struct VP8D_COMP *comp, VP8D_SETTING oxst, int x); int vp8dx_get_setting(struct VP8D_COMP *comp, VP8D_SETTING oxst); -int vp8dx_receive_compressed_data(struct VP8D_COMP *pbi, size_t size, - const uint8_t *source, int64_t time_stamp); +int vp8dx_receive_compressed_data(struct VP8D_COMP *pbi, int64_t time_stamp); int vp8dx_get_raw_frame(struct VP8D_COMP *pbi, YV12_BUFFER_CONFIG *sd, int64_t *time_stamp, int64_t *time_end_stamp, vp8_ppflags_t *flags); diff --git a/vp8/decoder/onyxd_if.c b/vp8/decoder/onyxd_if.c index 2e52c9369..765d2ec83 100644 --- a/vp8/decoder/onyxd_if.c +++ b/vp8/decoder/onyxd_if.c @@ -302,12 +302,9 @@ static int check_fragments_for_errors(VP8D_COMP *pbi) { return 1; } -int vp8dx_receive_compressed_data(VP8D_COMP *pbi, size_t size, - const uint8_t *source, int64_t time_stamp) { +int vp8dx_receive_compressed_data(VP8D_COMP *pbi, int64_t time_stamp) { VP8_COMMON *cm = &pbi->common; int retcode = -1; - (void)size; - (void)source; pbi->common.error.error_code = VPX_CODEC_OK; diff --git a/vp8/vp8_dx_iface.c b/vp8/vp8_dx_iface.c index f441ed46f..12e5781f5 100644 --- a/vp8/vp8_dx_iface.c +++ b/vp8/vp8_dx_iface.c @@ -485,7 +485,7 @@ static vpx_codec_err_t vp8_decode(vpx_codec_alg_priv_t *ctx, pbi->restart_threads = 0; #endif ctx->user_priv = user_priv; - if (vp8dx_receive_compressed_data(pbi, data_sz, data, deadline)) { + if (vp8dx_receive_compressed_data(pbi, deadline)) { res = update_error_state(ctx, &pbi->common.error); } |