# HG changeset patch # User michaelni # Date 1020461882 0 # Node ID ae179ec5fb475d485d54f8670ffa9b552d6f27ab # Parent e8ecb4413557a1a7f9251ccc806cbd894f0499fe correct quantizer bias diff -r e8ecb4413557 -r ae179ec5fb47 mjpeg.c --- a/mjpeg.c Fri May 03 18:46:55 2002 +0000 +++ b/mjpeg.c Fri May 03 21:38:02 2002 +0000 @@ -245,6 +245,7 @@ s->min_qcoeff=-1023; s->max_qcoeff= 1023; + s->intra_quant_bias= 1<<(QUANT_BIAS_SHIFT-1); //(a + x/2)/x /* build all the huffman tables */ build_huffman_codes(m->huff_size_dc_luminance,