Fix likely typo in r15937.

Originally committed as revision 22746 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Carl Eugen Hoyos 15 years ago
parent fe8344a276
commit a4585e7834
  1. 2
      libavcodec/h264enc.c

@ -184,7 +184,7 @@ static inline int quantize_c(DCTELEM *block, uint8_t *scantable, int qscale,
int intra, int separate_dc)
{
int i;
const int * const quant_3Btable = quant_coeff[qscale];
const int * const quant_table = quant_coeff[qscale];
const int bias = intra ? (1 << QUANT_SHIFT) / 3 : (1 << QUANT_SHIFT) / 6;
const unsigned int threshold1 = (1 << QUANT_SHIFT) - bias - 1;
const unsigned int threshold2 = (threshold1 << 1);

Loading…
Cancel
Save