From 3abc35411d0a4a54f1e9983345d77c7ca1b86bd5 Mon Sep 17 00:00:00 2001 From: "Timothy B. Terriberry" <tterribe@xiph.org> Date: Sun, 3 Jul 2016 17:46:26 -0700 Subject: [PATCH] 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. --- src/opusfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/opusfile.c b/src/opusfile.c index 5ff0c35..cf1b049 100644 --- a/src/opusfile.c +++ b/src/opusfile.c @@ -505,6 +505,7 @@ static int op_fetch_headers_impl(OggOpusFile *_of,OpusHead *_head, 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 -- GitLab