From 19966ccd4b743026d895c179ede04d436f65eca0 Mon Sep 17 00:00:00 2001
From: Mark Harris <mark.hsj@gmail.com>
Date: Thu, 3 May 2018 22:55:54 -0700
Subject: [PATCH] Fix opus_packet_parse() non-null arg attribute

It is the size array that must be non-null.
---
 include/opus.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/opus.h b/include/opus.h
index 5be73ddf4..d282f21d2 100644
--- a/include/opus.h
+++ b/include/opus.h
@@ -531,7 +531,7 @@ OPUS_EXPORT int opus_packet_parse(
    const unsigned char *frames[48],
    opus_int16 size[48],
    int *payload_offset
-) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(4);
+) OPUS_ARG_NONNULL(1) OPUS_ARG_NONNULL(5);
 
 /** Gets the bandwidth of an Opus packet.
   * @param [in] data <tt>char*</tt>: Opus packet
-- 
GitLab