]> git.draconx.ca Git - liblbx.git/commit
liblbx: Remove use of SEEK_CUR in the image reader.
authorNick Bowler <nbowler@draconx.ca>
Fri, 31 Jan 2014 03:32:28 +0000 (22:32 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 31 Jan 2014 05:40:50 +0000 (00:40 -0500)
commita52b40384eb58fc2d7c06c7d46d1c401cde19443
tree333dd992ff0c5abb7b5c0dff2955b774e3648531
parentde5aedcd0dc2f3cde14f069e7a28db47bca2a8c5
liblbx: Remove use of SEEK_CUR in the image reader.

Other than this one seek, all other seeks used by the library are of the
SEEK_SET type.  Only requiring SEEK_SET will simplify implementations of
lbx_file_ops quite a lot, so let's get rid of this one.

The whole point of this seek is to skip just one byte — a normal read
works just as well.
src/image.c