Shouldn't this be <= to allow seeking to the end of a file? (Some external code like the vorbis decoder does this in order to calculate file sizes.)