diff options
author | Mans Rullgard <mans@mansr.com> | 2012-10-12 00:59:12 +0400 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-10-13 01:21:10 +0400 |
commit | 0a7005bebd23ade7bb852bce0401af1a8fdbb723 (patch) | |
tree | 92f99ac1470b9c18e4567557eafcc0775d682926 /libavformat/rtpdec_xiph.c | |
parent | 366484fff1720977b8591e3a90fbef9f4885e53c (diff) |
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: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavformat/rtpdec_xiph.c')
-rw-r--r-- | libavformat/rtpdec_xiph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c index dc739eeb38..38f12bbc39 100644 --- a/libavformat/rtpdec_xiph.c +++ b/libavformat/rtpdec_xiph.c @@ -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) |