aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/rs-encode.c
diff options
context:
space:
mode:
authorLeo Howell <leo@lwh.jp>2009-11-03 15:29:45 +0900
committerLeo Howell <leo@lwh.jp>2009-11-03 15:30:57 +0900
commitcca340e1b1017f1f565c5c53920e450d75164d51 (patch)
treed7716d4738f66decdf7258e447042e8967eb8037 /lpg/libqr/rs-encode.c
parent688c1b52ed356d024ba2e72ba52f7da64b7d74ed (diff)
downloadpdf-simple-sign-cca340e1b1017f1f565c5c53920e450d75164d51.tar.gz
pdf-simple-sign-cca340e1b1017f1f565c5c53920e450d75164d51.tar.xz
pdf-simple-sign-cca340e1b1017f1f565c5c53920e450d75164d51.zip
Fix the output block order
Diffstat (limited to 'lpg/libqr/rs-encode.c')
-rw-r--r--lpg/libqr/rs-encode.c1
1 files changed, 0 insertions, 1 deletions
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)