shithub: opus

Download patch

ref: 19966ccd4b743026d895c179ede04d436f65eca0
parent: d01199be4cf3257478bd04ed028e3c589d306215
author: Mark Harris <mark.hsj@gmail.com>
date: Thu May 3 18:55:54 EDT 2018

Fix opus_packet_parse() non-null arg attribute

It is the size array that must be non-null.

--- a/include/opus.h
+++ b/include/opus.h
@@ -531,7 +531,7 @@
    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