summaryrefslogtreecommitdiff
path: root/vp8
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2019-11-04 15:09:50 -0600
committerJohann <johannkoenig@google.com>2019-11-04 15:09:50 -0600
commit03b779e99bd45bfd6aef6184f6f636ed51e3b13d (patch)
treeadf640c0f60cb9f71e78ae47c238c0d11474f6cd /vp8
parent7e5b40800b73b7b73ecfb65de31c247f170cd464 (diff)
downloadlibvpx-03b779e99bd45bfd6aef6184f6f636ed51e3b13d.tar
libvpx-03b779e99bd45bfd6aef6184f6f636ed51e3b13d.tar.gz
libvpx-03b779e99bd45bfd6aef6184f6f636ed51e3b13d.tar.bz2
libvpx-03b779e99bd45bfd6aef6184f6f636ed51e3b13d.zip
remove unused vp8dx_receive_compressed_data parameters
BUG=webm:1612 Change-Id: If2dc8a77c8f8bca86ee4b8349091dd1117b42dce
Diffstat (limited to 'vp8')
-rw-r--r--vp8/common/onyxd.h3
-rw-r--r--vp8/decoder/onyxd_if.c5
-rw-r--r--vp8/vp8_dx_iface.c2
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);
}