remove unused vp8dx_receive_compressed_data parameters
authorJohann <johannkoenig@google.com>
Mon, 4 Nov 2019 21:09:50 +0000 (15:09 -0600)
committerJohann <johannkoenig@google.com>
Mon, 4 Nov 2019 21:09:50 +0000 (15:09 -0600)
BUG=webm:1612

Change-Id: If2dc8a77c8f8bca86ee4b8349091dd1117b42dce

vp8/common/onyxd.h
vp8/decoder/onyxd_if.c
vp8/vp8_dx_iface.c

index 801ef87..e4e81aa 100644 (file)
@@ -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);
index 2e52c93..765d2ec 100644 (file)
@@ -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;
 
index f441ed4..12e5781 100644 (file)
@@ -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);
     }