From: Johann Date: Wed, 31 Oct 2018 21:13:45 +0000 (-0700) Subject: vp8dx_get_quantizer: normalize VP8D_COMP X-Git-Tag: v1.8.0~188^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c85967fe719a30e7589f74de372aae674b61795e;p=libvpx vp8dx_get_quantizer: normalize VP8D_COMP Use "pbi" like the rest of the functions Change-Id: I5f3036b8f8361c30353be378d83455b83b82ac9f --- 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; }