ref: 3abc35411d0a4a54f1e9983345d77c7ca1b86bd5
parent: ff5df051704894e4f0bc61552e08eb113b08328b
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Sun Jul 3 13:46:26 EDT 2016
Should a BOS page with no packets be an error? Going with "no" for now, but leave a reminder in the source code that this is a debatable question.
--- a/src/opusfile.c
+++ b/src/opusfile.c
@@ -505,6 +505,7 @@
Everything else is fatal.*/
else if(ret!=OP_ENOTFORMAT)return ret;
}
+ /*TODO: Should a BOS page with no packets be an error?*/
}
/*Get the next page.
No need to clamp the boundary offset against _of->end, as all errors