From c85967fe719a30e7589f74de372aae674b61795e Mon Sep 17 00:00:00 2001 From: Johann Date: Wed, 31 Oct 2018 14:13:45 -0700 Subject: [PATCH] vp8dx_get_quantizer: normalize VP8D_COMP Use "pbi" like the rest of the functions Change-Id: I5f3036b8f8361c30353be378d83455b83b82ac9f --- vp8/common/onyxd.h | 2 +- vp8/decoder/onyxd_if.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vp8/common/onyxd.h b/vp8/common/onyxd.h index a52af6b62..801ef87b2 100644 --- a/vp8/common/onyxd.h +++ b/vp8/common/onyxd.h @@ -54,7 +54,7 @@ vpx_codec_err_t vp8dx_get_reference(struct VP8D_COMP *pbi, vpx_codec_err_t vp8dx_set_reference(struct VP8D_COMP *pbi, enum vpx_ref_frame_type ref_frame_flag, YV12_BUFFER_CONFIG *sd); -int vp8dx_get_quantizer(const struct VP8D_COMP *cpi); +int vp8dx_get_quantizer(const struct VP8D_COMP *pbi); #ifdef __cplusplus } diff --git a/vp8/decoder/onyxd_if.c b/vp8/decoder/onyxd_if.c index f516eb0c7..ddcc54621 100644 --- a/vp8/decoder/onyxd_if.c +++ b/vp8/decoder/onyxd_if.c @@ -471,6 +471,6 @@ int vp8_remove_decoder_instances(struct frame_buffers *fb) { return VPX_CODEC_OK; } -int vp8dx_get_quantizer(const VP8D_COMP *cpi) { - return cpi->common.base_qindex; +int vp8dx_get_quantizer(const VP8D_COMP *pbi) { + return pbi->common.base_qindex; } -- 2.40.0