Fix a typo in op_mem_read().
authorTimothy B. Terriberry <tterribe@xiph.org>
Sun, 27 Jan 2013 14:30:48 +0000 (06:30 -0800)
committerTimothy B. Terriberry <tterribe@xiph.org>
Sun, 27 Jan 2013 14:30:48 +0000 (06:30 -0800)
commitb4cdfcc760394cec9a33647b7acd272c91397ccc
tree0aee757432426bd72ddacfca79d73195b0f2498e
parent9d825963310c744e8bd2c8ca03b7cdc99aae898e
Fix a typo in op_mem_read().

We should copy the minimum of the buffer size and the remaining
 bytes, not the maximum.
Fixes #1927.
src/stream.c