diff options
author | Deb Mukherjee <debargha@google.com> | 2014-10-02 07:37:26 -0700 |
---|---|---|
committer | Deb Mukherjee <debargha@google.com> | 2014-10-02 07:37:26 -0700 |
commit | 35e8fa1458cefdf04591dd3382728c403198c2a0 (patch) | |
tree | 12b596de73bf9997ecd355d8f869d41bd8ac0ea3 /vp9/encoder | |
parent | 439bd095c6c1b6aa107326c34b9b1c6afff2a7bf (diff) | |
download | libvpx-35e8fa1458cefdf04591dd3382728c403198c2a0.tar libvpx-35e8fa1458cefdf04591dd3382728c403198c2a0.tar.gz libvpx-35e8fa1458cefdf04591dd3382728c403198c2a0.tar.bz2 libvpx-35e8fa1458cefdf04591dd3382728c403198c2a0.zip |
rdmult data type change to fix high bit-depth
Fixes an intermittent assert failure for highbitdepth.
Change-Id: If8cad0209a94f1184b69c7b3f1d587934f857d9b
Diffstat (limited to 'vp9/encoder')
-rw-r--r-- | vp9/encoder/vp9_rd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_rd.c b/vp9/encoder/vp9_rd.c index a32776ac7..efb8686dd 100644 --- a/vp9/encoder/vp9_rd.c +++ b/vp9/encoder/vp9_rd.c @@ -136,7 +136,7 @@ static const int rd_frame_type_factor[FRAME_UPDATE_TYPES] = { }; int vp9_compute_rd_mult(const VP9_COMP *cpi, int qindex) { - const int q = vp9_dc_quant(qindex, 0, cpi->common.bit_depth); + const int64_t q = vp9_dc_quant(qindex, 0, cpi->common.bit_depth); #if CONFIG_VP9_HIGHBITDEPTH int rdmult = 0; switch (cpi->common.bit_depth) { |