diff options
author | Mark Harris <mark.hsj@gmail.com> | 2018-05-03 22:55:54 -0700 |
---|---|---|
committer | Mark Harris <mark.hsj@gmail.com> | 2018-05-03 23:02:49 -0700 |
commit | 19966ccd4b743026d895c179ede04d436f65eca0 (patch) | |
tree | d212b0c1064666138869d6cb36b00ab0ff643d3a | |
parent | d01199be4cf3257478bd04ed028e3c589d306215 (diff) | |
download | opus-19966ccd4b743026d895c179ede04d436f65eca0.tar.gz |
Fix opus_packet_parse() non-null arg attribute
It is the size array that must be non-null.
-rw-r--r-- | include/opus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/opus.h b/include/opus.h index 5be73ddf..d282f21d 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 |