提交 0a7005be 编写于 作者: M 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: NMans Rullgard <mans@mansr.com>
上级 366484ff
......@@ -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
*/
static unsigned int
static int
parse_packed_headers(const uint8_t * packed_headers,
const uint8_t * packed_headers_end,
AVCodecContext * codec, PayloadContext * xiph_data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册