From 0cf8628528f53e07ed3679b6f6bc0acd750607d1 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Mon, 16 Jul 2012 12:34:46 -0400 Subject: [PATCH] Define TOC sequence briefly. Hopefully it's clear from this that the demuxer can parse the TOC sequence to verify the equal-duration constraint. --- doc/draft-terriberry-oggopus.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/draft-terriberry-oggopus.xml b/doc/draft-terriberry-oggopus.xml index c18c293a..bd37f191 100644 --- a/doc/draft-terriberry-oggopus.xml +++ b/doc/draft-terriberry-oggopus.xml @@ -172,6 +172,8 @@ The remaining Opus packet is packed at the end of the audio data packet . 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.