vp8depay: fix header size checking
authorWim Taymans <wtaymans@redhat.com>
Thu, 19 Jun 2014 13:25:01 +0000 (15:25 +0200)
committerWim Taymans <wtaymans@redhat.com>
Thu, 19 Jun 2014 13:29:46 +0000 (15:29 +0200)
commit8a78fa1ff5a4e1a620cb1e0747e5b560bf4e8b80
tree7a6e80801410177c43b7485c8c4526f72e1be986
parentf00c2b71557a5115a60a642244717d2ef7a3fc8e
vp8depay: fix header size checking

Use a different variable name to make it clear that we are calculating
the header size.
Correctly check that we have enough bytes to read the header bits. We
were checking if there were 5 bytes available in the header while we
only needed 3, causing the packet to be discarded as too small.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723595
gst/rtp/gstrtpvp8depay.c