rtph265depay: prevent trying to get 0 bytes from adapter
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 12 Aug 2015 13:59:53 +0000 (14:59 +0100)
committerLuis de Bethencourt <luis@debethencourt.com>
Wed, 12 Aug 2015 14:05:02 +0000 (15:05 +0100)
commit9379933607248b1ad3b1fd715405b64f5fa2b421
tree77aa41ef57d8789bce8dd0d2c1ff83c0bc461d1c
parent8a6cc4ed27dfc596c75b43ffe6eda36fcbd03781
rtph265depay: 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.

Related to rpth264depay: https://bugzilla.gnome.org/show_bug.cgi?id=737199
gst/rtp/gstrtph265depay.c