Bill Pringlemeir wrote: > I tried revision 1.12 of visual_progress_gui.c. I also updated all of > the rest of the source.
The public CVS is always horribly out of date - expect at least a 24hrs propagation delay. The problem was fixed 1.13, so it's no wonder you still experience the crashes. Try again, once you have rev. 1.13. There are also CVS snaphshots which are updated every 6 hrs. > I tried this code modification, > bpp = (v->file_size + v->context->width/2) / v->context->width; > This seems correct to me. The mathematics should round up any > calculation. However, when I used this, is still had the division by > zero instruction. Those variables are integers and you get integer values at any time of (partial) evaluation. Well, even if these were floating types, no rounding up would occur, so the above is still zero if the filesize is smaller than context->width/2. [However, until GCC 3.2.2 (IIRC) the optimizer could have cause such an invalid round up.] -- Christian
pgp00000.pgp
Description: PGP signature
