| Index: source/libvpx/vp9/common/vp9_quant_common.c
|
| diff --git a/source/libvpx/vp9/common/vp9_quant_common.c b/source/libvpx/vp9/common/vp9_quant_common.c
|
| index 564a3eb0ce3d255389301a3b829f663d225d4289..d83f3c1a2f5ecee11ffec6b1b2341be71d654f32 100644
|
| --- a/source/libvpx/vp9/common/vp9_quant_common.c
|
| +++ b/source/libvpx/vp9/common/vp9_quant_common.c
|
| @@ -266,8 +266,8 @@ int16_t vp9_ac_quant(int qindex, int delta, vpx_bit_depth_t bit_depth) {
|
|
|
| int vp9_get_qindex(const struct segmentation *seg, int segment_id,
|
| int base_qindex) {
|
| - if (vp9_segfeature_active(seg, segment_id, SEG_LVL_ALT_Q)) {
|
| - const int data = vp9_get_segdata(seg, segment_id, SEG_LVL_ALT_Q);
|
| + if (segfeature_active(seg, segment_id, SEG_LVL_ALT_Q)) {
|
| + const int data = get_segdata(seg, segment_id, SEG_LVL_ALT_Q);
|
| const int seg_qindex = seg->abs_delta == SEGMENT_ABSDATA ?
|
| data : base_qindex + data;
|
| return clamp(seg_qindex, 0, MAXQ);
|
|
|