Commit 0a7005be authored by Mans Rullgard's avatar Mans Rullgard

rtpdec_xiph: fix function return type

parse_packed_headers() returns either zero or a negative error code
so its return type must be signed.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 366484ff
...@@ -243,7 +243,7 @@ static int get_base128(const uint8_t ** buf, const uint8_t * buf_end) ...@@ -243,7 +243,7 @@ static int get_base128(const uint8_t ** buf, const uint8_t * buf_end)
/** /**
* Based off parse_packed_headers in Vorbis RTP * Based off parse_packed_headers in Vorbis RTP
*/ */
static unsigned int static int
parse_packed_headers(const uint8_t * packed_headers, parse_packed_headers(const uint8_t * packed_headers,
const uint8_t * packed_headers_end, const uint8_t * packed_headers_end,
AVCodecContext * codec, PayloadContext * xiph_data) AVCodecContext * codec, PayloadContext * xiph_data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment