diff --git a/test/user_priv_test.cc b/test/user_priv_test.cc index f9aef33da..22fce857c 100644 --- a/test/user_priv_test.cc +++ b/test/user_priv_test.cc @@ -78,7 +78,7 @@ string DecodeFile(const string &filename) { ref.idx = rnd.Rand8() % 3; decoder.Control(VP9_GET_REFERENCE, &ref); - CheckUserPrivateData(ref.img.user_priv, &frame_num); + CheckUserPrivateData(ref.img.user_priv, NULL); } md5.Add(img); } diff --git a/vp9/vp9_dx_iface.c b/vp9/vp9_dx_iface.c index 3a73eeaa1..746fab006 100644 --- a/vp9/vp9_dx_iface.c +++ b/vp9/vp9_dx_iface.c @@ -671,7 +671,7 @@ static vpx_codec_err_t ctrl_get_reference(vpx_codec_alg_priv_t *ctx, VP9Worker *const worker = ctx->frame_workers; FrameWorkerData *const worker_data = (FrameWorkerData *)worker->data1; vp9_get_reference_dec(worker_data->pbi, data->idx, &fb); - yuvconfig2image(&data->img, fb, worker_data->user_priv); + yuvconfig2image(&data->img, fb, NULL); return VPX_CODEC_OK; } else { return VPX_CODEC_INVALID_PARAM;