rtph261depay: Fix check of valid payload length
authorStian Selnes <stian@pexip.com>
Thu, 19 Nov 2015 10:50:47 +0000 (11:50 +0100)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Fri, 26 Aug 2016 15:53:22 +0000 (11:53 -0400)
commit793327cce21adb9ff96111cd547e2c92b62fecac
treea33008112ed1a9a932c0c1299ae0a9c9b29f37e8
parent64f9d08d3d688b5de6b49afeb2ee987c673bf507
rtph261depay: Fix check of valid payload length

Packets with no H.261 payload should be dropped to avoid invalid
write/reads.
gst/rtp/gstrtph261depay.c
tests/check/Makefile.am
tests/check/elements/rtph261.c [new file with mode: 0644]