vrawdepay: handle invalid payload better
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 7 Sep 2010 11:51:37 +0000 (13:51 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 7 Sep 2010 11:56:53 +0000 (13:56 +0200)
commit6be0c7b7626a30ef3479e2032599271f0f3f17ab
tree6226b8b3f369c9717c234474cfe242a5050840c3
parentf604e20499901bdaf3cf136b9cf383d66c422d9a
vrawdepay: handle invalid payload better

Make sure we don't read more data than available in the input buffer.
Clip the input data into the output buffer.
gst/rtp/gstrtpvrawdepay.c