summaryrefslogtreecommitdiff
path: root/vpx_scale/vpx_scale_asm_offsets.c
diff options
context:
space:
mode:
authorAdrian Grange <agrange@google.com>2015-03-10 09:14:54 -0700
committerAdrian Grange <agrange@google.com>2015-03-10 09:14:54 -0700
commit78df71221656b0a0d37bff6c16efd743347fa30d (patch)
tree00ad5623da6543f5869881f37501ae9dc78eb09c /vpx_scale/vpx_scale_asm_offsets.c
parent6eaca27df21d2bd8da1c063c484b5f5c28621d3a (diff)
downloadlibvpx-78df71221656b0a0d37bff6c16efd743347fa30d.tar
libvpx-78df71221656b0a0d37bff6c16efd743347fa30d.tar.gz
libvpx-78df71221656b0a0d37bff6c16efd743347fa30d.tar.bz2
libvpx-78df71221656b0a0d37bff6c16efd743347fa30d.zip
Fix vp9_compute_qdelta_by_rate loop behavior
The return value from vp9_compute_qdelta_by_rate, which is a delta value for the quantizer, could never be 0 if (qindex == rc->worst_quality). This occurs because target_index was setup unconditionally in the loop and yet the loop counter stopped at (rc->worst_quality - 1). Change-Id: I6b59cd9b5811ff33357e71cd7d814c5e53d291f2
Diffstat (limited to 'vpx_scale/vpx_scale_asm_offsets.c')
0 files changed, 0 insertions, 0 deletions