shithub: libvpx

Download patch

ref: d9381a1c6aa29541c8bd0ab4c7f58327ecea7199
parent: 331d289c5c540cf82d89c2a03da45c30e4fe0779
parent: c85967fe719a30e7589f74de372aae674b61795e
author: Johann Koenig <[email protected]>
date: Wed Oct 31 18:19:43 EDT 2018

Merge "vp8dx_get_quantizer: normalize VP8D_COMP"

--- 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;
 }