22 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
23 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
24 |
* |
* |
25 |
* $Id: plugin_2pass1.c,v 1.1.2.9 2003-11-19 15:42:38 syskin Exp $ |
* $Id: plugin_2pass1.c,v 1.1.2.10 2003-12-17 15:16:16 edgomez Exp $ |
26 |
* |
* |
27 |
*****************************************************************************/ |
*****************************************************************************/ |
28 |
|
|
94 |
rc->fq_error += (double)data->zone->increment / (double)data->zone->base; |
rc->fq_error += (double)data->zone->increment / (double)data->zone->base; |
95 |
data->quant = (int)rc->fq_error; |
data->quant = (int)rc->fq_error; |
96 |
rc->fq_error -= data->quant; |
rc->fq_error -= data->quant; |
|
|
|
97 |
}else { |
}else { |
98 |
data->quant = 2; |
data->quant = 2; |
99 |
} |
} |
100 |
} |
} |
101 |
return 0; |
return(0); |
102 |
} |
} |
103 |
|
|
104 |
|
|