Avoid overflows in the padding checks by doing the check slightly
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 21 Jan 2009 12:09:29 +0000 (13:09 +0100)
committerWim Taymans <wim@wtay.(none)>
Wed, 21 Jan 2009 12:09:29 +0000 (13:09 +0100)
commit9ce042e2a71deb20e83764daea5997f1450abcae
treee3b6b5c1d19e5f0e60704c3ca915979aa1bf7702
parent28418d1fec71f6ec2575d5a6be4cf7cb9e470012
Avoid overflows in the padding checks by doing the check slightly
differently.
Add a unit test to check for correct behaviour.
gst-libs/gst/rtp/gstrtpbuffer.c
tests/check/libs/rtp.c