Hans de Graaff wrote: > On 26 Apr 2004, Bill Pringlemeir wrote: > >>> bpp = v->file_size / (v->context->width); > >>> -> s_from = chunk->from / bpp; > >>> s_to = chunk->to / bpp; > Both v->file_size and v->context->width should not be 0 in this code, > that is something that the calling code should take care of.
What if v->file_size < v->context->width? -- Christian
pgp00000.pgp
Description: PGP signature
