Update bufferedscanlines.c
Fixed initialization error in structure.
This commit is contained in:
parent
500fe6846e
commit
8746382384
|
@ -49,6 +49,7 @@ t_bufferscan *bufferscan_new(int bytesperrow, int rows, int outputFlags, FILE *f
|
||||||
if (!bs) return 0;
|
if (!bs) return 0;
|
||||||
|
|
||||||
bs->bytesPerRow = bytesperrow;
|
bs->bytesPerRow = bytesperrow;
|
||||||
|
bs->currentRow = 0;
|
||||||
bs->totalRows = rows;
|
bs->totalRows = rows;
|
||||||
bs->outputFlags = outputFlags;
|
bs->outputFlags = outputFlags;
|
||||||
bs->fp = fp;
|
bs->fp = fp;
|
||||||
|
|
Loading…
Reference in a new issue