rtph264depay: prevent trying to get 0 bytes from adapter
authorThiago Santos <thiagoss@osg.samsung.com>
Wed, 4 Feb 2015 05:25:44 +0000 (02:25 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Thu, 5 Feb 2015 00:37:50 +0000 (21:37 -0300)
commita6d73797d091a0e4ac33eaf516056103f7ffb1e8
treef8930405fd6f39faaeb8f0eb0908a74baf16e1dc
parenta3059bec1f4d32c42d3aae27834fd520c8bbb65d
rtph264depay: prevent trying to get 0 bytes from adapter

This causes an assertion and would lead to getting a NULL instead
of a buffer. Without proper checking this would easily lead to
a segfault

https://bugzilla.gnome.org/show_bug.cgi?id=737199
gst/rtp/gstrtph264depay.c