diff options
author | Marijn Suijten <marijns95@gmail.com> | 2021-06-03 21:14:42 +0200 |
---|---|---|
committer | Marijn Suijten <marijns95@gmail.com> | 2021-06-03 21:14:42 +0200 |
commit | ed6c970d9c87686407ce9500fad03af8c3a28ea4 (patch) | |
tree | ccb7a10bbe030ff006030633040786a576e27975 | |
parent | c18dd84f796983dd1cebc1e05eaf6edcc8ee78e3 (diff) | |
download | gstreamer-plugins-base-ed6c970d9c87686407ce9500fad03af8c3a28ea4.tar.gz |
rtp/header: Add missing `array length` annotation to read/write methods
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1190>
-rw-r--r-- | gst-libs/gst/rtp/gstrtphdrext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/rtp/gstrtphdrext.c b/gst-libs/gst/rtp/gstrtphdrext.c index 292767ac7..cc7cebf83 100644 --- a/gst-libs/gst/rtp/gstrtphdrext.c +++ b/gst-libs/gst/rtp/gstrtphdrext.c @@ -258,7 +258,7 @@ gst_rtp_header_extension_get_max_size (GstRTPHeaderExtension * ext, * @write_flags: #GstRTPHeaderExtensionFlags for how the extension should * be written * @output: output RTP #GstBuffer - * @data: location to write the rtp header extension into + * @data: (array length=size): location to write the rtp header extension into * @size: size of @data * * Writes the RTP header extension to @data using information available from @@ -293,7 +293,7 @@ gst_rtp_header_extension_write (GstRTPHeaderExtension * ext, * @ext: a #GstRTPHeaderExtension * @read_flags: #GstRTPHeaderExtensionFlags for how the extension should * be written - * @data: location to read the rtp header extension from + * @data: (array length=size): location to read the rtp header extension from * @size: size of @data * @buffer: a #GstBuffer to modify if necessary * |