586 |
#define MC_SIZE 4097 |
#define MC_SIZE 4097 |
587 |
|
|
588 |
/* if we've got more than one scanline, output */ |
/* if we've got more than one scanline, output */ |
589 |
static void flush_buffer(FL_IMAGE * im, int incode) |
static void flush_buffer(FL_IMAGE * im) |
590 |
{ |
{ |
591 |
int i; |
int i; |
592 |
|
int incode; |
593 |
|
|
594 |
incode = lbuf - lhead; |
incode = lbuf - lhead; |
595 |
if (incode >= im->w) |
if (incode >= im->w) |
670 |
* it crashed... |
* it crashed... |
671 |
* So flush the buffer before it overuns. |
* So flush the buffer before it overuns. |
672 |
*/ |
*/ |
673 |
flush_buffer(im, incode); |
flush_buffer(im); |
674 |
return 0; |
return 0; |
675 |
} |
} |
676 |
|
|
710 |
while (stackp > stack); |
while (stackp > stack); |
711 |
|
|
712 |
/* if we've got more than one scanline, output */ |
/* if we've got more than one scanline, output */ |
713 |
flush_buffer(im, incode); |
flush_buffer(im); |
714 |
return 0; |
return 0; |
715 |
} |
} |
716 |
|
|