shithub: libvpx

Download patch

ref: c85967fe719a30e7589f74de372aae674b61795e
parent: e018967dc4a8cfe472253bf70ed0af369ef14c64
author: Johann <johann.koenig@duck.com>
date: Wed Oct 31 10:13:45 EDT 2018

vp8dx_get_quantizer: normalize VP8D_COMP

Use "pbi" like the rest of the functions

Change-Id: I5f3036b8f8361c30353be378d83455b83b82ac9f

--- a/vp8/common/onyxd.h
+++ b/vp8/common/onyxd.h
@@ -54,7 +54,7 @@
 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
 }
--- a/vp8/decoder/onyxd_if.c
+++ b/vp8/decoder/onyxd_if.c
@@ -471,6 +471,6 @@
   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;
 }