From cca340e1b1017f1f565c5c53920e450d75164d51 Mon Sep 17 00:00:00 2001 From: Leo Howell Date: Tue, 3 Nov 2009 15:29:45 +0900 Subject: Fix the output block order --- lpg/libqr/rs-encode.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lpg/libqr/rs-encode.c') diff --git a/lpg/libqr/rs-encode.c b/lpg/libqr/rs-encode.c index 42b404f..a8ecc73 100644 --- a/lpg/libqr/rs-encode.c +++ b/lpg/libqr/rs-encode.c @@ -74,7 +74,6 @@ struct qr_bitstream * rs_generate_words(struct qr_bitstream * data, goto fail; /* First, prepare the registers (b) with data bits */ - qr_bitstream_seek(data, 0); for (i = 0; i < data_words; ++i) { unsigned int x = b[n-1] ^ qr_bitstream_read(data, 8); for (r = n-1; r > 0; --r) -- cgit v1.2.3-70-g09d2