shithub: opus

Download patch

ref: 0cf8628528f53e07ed3679b6f6bc0acd750607d1
parent: 19658bd2f71db54c8b50dc95b295add3cc962bd4
author: Ralph Giles <[email protected]>
date: Mon Jul 16 08:34:46 EDT 2012

Define TOC sequence briefly.

Hopefully it's clear from this that the demuxer can parse the
TOC sequence to verify the equal-duration constraint.

--- a/doc/draft-terriberry-oggopus.xml
+++ b/doc/draft-terriberry-oggopus.xml
@@ -172,6 +172,8 @@
  <xref target="RFCOpus"/>.
 All of the Opus packets in a single Ogg packet MUST be constrained to have the
  same duration.
+The duration and coding modes of each Opus packet are contained in the
+ TOC (table of contents) sequence in the first few bytes.
 A decoder SHOULD treat any Opus packet whose duration is different from that of
  the first Opus packet in an Ogg packet as if it were an Opus packet with an
  illegal TOC sequence.