Skip to content

Commit

Permalink
rtp/header: Add missing array length annotation to read/write methods
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijnS95 committed Jun 3, 2021
1 parent c18dd84 commit ed6c970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gst-libs/gst/rtp/gstrtphdrext.c
Expand Up @@ -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
Expand Down Expand Up @@ -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
*
Expand Down

0 comments on commit ed6c970

Please sign in to comment.