Commit 0072b802 authored by Loren Merritt's avatar Loren Merritt

fix rounding of intra dequant when qp<=3


git-svn-id: svn://svn.videolan.org/x264/trunk@236 df754926-b1dd-0310-bc7b-ec298dee348c
parent 7c02f091
......@@ -139,7 +139,7 @@ void x264_mb_dequant_4x4_dc( int16_t dct[4][4], int i_qscale )
else
{
const int i_dmf = dequant_mf[i_qscale%6][0][0];
const int f = 1 << ( 1 + i_qbits );
const int f = -i_qbits; // 1 << (-1-i_qbits)
for( y = 0; y < 4; y++ )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment