Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Harris <mark.hsj@gmail.com>2018-05-04 08:55:54 +0300
committerMark Harris <mark.hsj@gmail.com>2018-05-04 09:02:49 +0300
commit19966ccd4b743026d895c179ede04d436f65eca0 (patch)
treed212b0c1064666138869d6cb36b00ab0ff643d3a /include
parentd01199be4cf3257478bd04ed028e3c589d306215 (diff)
Fix opus_packet_parse() non-null arg attribute
It is the size array that must be non-null.
Diffstat (limited to 'include')
-rw-r--r--include/opus.h2
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