shithub: opus

Download patch

ref: c43633d1a9d3747f96fc30a32f6fdaa322195aed
parent: c293dede4ac6e7205ca145b26b1e9e9d94b8735d
author: Felicia Lim <flim@google.com>
date: Mon Mar 27 06:36:46 EDT 2017

Fix OPUS_ARG_NONNULL indices in opus_multistream.h

--- a/include/opus_multistream.h
+++ b/include/opus_multistream.h
@@ -273,7 +273,7 @@
       unsigned char *mapping,
       int application,
       int *error
-) OPUS_ARG_NONNULL(5);
+) OPUS_ARG_NONNULL(4) OPUS_ARG_NONNULL(5) OPUS_ARG_NONNULL(6);
 
 /** Initialize a previously allocated multistream encoder state.
   * The memory pointed to by \a st must be at least the size returned by
@@ -342,7 +342,7 @@
       int *coupled_streams,
       unsigned char *mapping,
       int application
-) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(6);
+) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(5) OPUS_ARG_NONNULL(6) OPUS_ARG_NONNULL(7);
 
 /** Encodes a multistream Opus frame.
   * @param st <tt>OpusMSEncoder*</tt>: Multistream encoder state.