Be more scrupulous about reading extra data.
authorTimothy B. Terriberry <tterribe@xiph.org>
Tue, 23 Oct 2012 02:18:07 +0000 (19:18 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Tue, 23 Oct 2012 02:18:07 +0000 (19:18 -0700)
commit7c52622f56794624c4c8defe6cbbe932559f3a6e
tree00a0975dae8ec7b1afdd29eeac0387bcc71d72e4
parent498fc0bda980d56b4e08017853e103ce5ad8bf16
Be more scrupulous about reading extra data.

This can be quite expensive with the http backend, especially if it
 causes us to pass a chunk threshold and issue a new request.
It also lets us error out more quickly if the underlying stream
 data changes.
src/http.c
src/internal.h
src/opusfile.c