Check for end_offset < data_offset.
authorTimothy B. Terriberry <tterribe@xiph.org>
Tue, 13 Nov 2012 00:58:40 +0000 (16:58 -0800)
committerTimothy B. Terriberry <tterribe@xiph.org>
Tue, 13 Nov 2012 00:58:40 +0000 (16:58 -0800)
commit15193c53bdb121d3e3b9b430ed38364b04013eb0
tree1dcbbbb3a39f323155c767fc3e5c061ad175b5fb
parent4dcf9b0d60aea983bd40995a444109c4ddf2b7d3
Check for end_offset < data_offset.

I don't think it actually breaks anything if we don't (seeking will
 fail, but it will fail cleanly).
However, it _is_ an indication that the file data changed out from
 under us (or of another library bug), so we should fail fast.
src/opusfile.c