rtpv8depay: ignore reserved bit in payload descriptor

Draft 16 of "RTP Payload Format for VP8" states in section 4.2 that:

R: Bit reserved for future use.  MUST be set to zero and MUST be
   ignored by the receiver.

https://bugzilla.gnome.org/show_bug.cgi?id=751929
This commit is contained in:
Stian Selnes 2014-06-20 10:59:14 +02:00 committed by Sebastian Dröge
parent f682772898
commit d91ef9dcbf

View file

@ -136,7 +136,7 @@ gst_rtp_vp8_depay_process (GstRTPBaseDepayload * depay, GstBuffer * buf)
if (G_UNLIKELY (!self->started)) {
/* Check if this is the start of a VP8 frame, otherwise bail */
/* S=1 and PartID= 0 */
if ((data[0] & 0x1F) != 0x10)
if ((data[0] & 0x17) != 0x10)
goto done;
self->started = TRUE;