Updates to the Opus Audio Codec
draft-ietf-codec-opus-update-10

Document Type Active Internet-Draft (codec WG)
Last updated 2017-09-14 (latest revision 2017-08-24)
Replaces draft-valin-codec-opus-update
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf html bibtex
Reviews
Stream WG state Submitted to IESG for Publication (wg milestone: Feb 2017 - Error and bugfix upd... )
Document shepherd Tim Terriberry
Shepherd write-up Show (last changed 2017-07-21)
IESG IESG state RFC Ed Queue
Consensus Boilerplate Yes
Telechat date
Responsible AD Ben Campbell
Send notices to Tim Terriberry <tterriberry@mozilla.com>
IANA IANA review state Version Changed - Review Needed
IANA action state No IC
RFC Editor RFC Editor state RFC-EDITOR
Network Working Group                                          JM. Valin
Internet-Draft                                       Mozilla Corporation
Updates: 6716 (if approved)                                       K. Vos
Intended status: Standards Track                                 vocTone
Expires: February 25, 2018                               August 24, 2017

                    Updates to the Opus Audio Codec
                    draft-ietf-codec-opus-update-10

Abstract

   This document addresses minor issues that were found in the
   specification of the Opus audio codec in RFC 6716.  It updates the
   normative decoder implementation included in the appendix of RFC
   6716.  The changes fixes real and potential security-related issues,
   as well minor quality-related issues.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on February 25, 2018.

Copyright Notice

   Copyright (c) 2017 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of

Valin & Vos             Expires February 25, 2018               [Page 1]
Internet-Draft                 Opus Update                   August 2017

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Stereo State Reset in SILK  . . . . . . . . . . . . . . . . .   3
   4.  Parsing of the Opus Packet Padding  . . . . . . . . . . . . .   3
   5.  Resampler buffer  . . . . . . . . . . . . . . . . . . . . . .   4
   6.  Integer wrap-around in inverse gain computation . . . . . . .   6
   7.  Integer wrap-around in LSF decoding . . . . . . . . . . . . .   6
   8.  Cap on Band Energy  . . . . . . . . . . . . . . . . . . . . .   7
   9.  Hybrid Folding  . . . . . . . . . . . . . . . . . . . . . . .   7
   10. Downmix to Mono . . . . . . . . . . . . . . . . . . . . . . .   9
   11. New Test Vectors  . . . . . . . . . . . . . . . . . . . . . .   9
   12. Security Considerations . . . . . . . . . . . . . . . . . . .  10
   13. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  11
   14. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  11
   15. Normative References  . . . . . . . . . . . . . . . . . . . .  11
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  11

1.  Introduction

   This document addresses minor issues that were discovered in the
   reference implementation of the Opus codec.  Unlike most IETF
   specifications, Opus is defined in RFC 6716 [RFC6716] in terms of a
   normative reference decoder implementation rather than from the
   associated text description.  That RFC includes the reference decoder
   implementation as Appendix A.  That's why only issues affecting the
   decoder are listed here.  An up-to-date implementation of the Opus
   encoder can be found at <https://opus-codec.org/>.

   Some of the changes in this document update normative behaviour in a
   way that requires new test vectors.  The English text of the
   specification is unaffected, only the C implementation is.  The
   updated specification remains fully compatible with the original
   specification.

   Note: due to RFC formatting conventions, lines exceeding the column
   width in the patch are split using a backslash character.  The
   backslashes at the end of a line and the white space at the beginning
   of the following line are not part of the patch.  A properly
   formatted patch including all changes is available at
   <https://www.ietf.org/proceedings/98/slides/materials-98-codec-opus-
Show full document text