From d91ef9dcbf15f5efb22c366ff5dfb70efa39a08c Mon Sep 17 00:00:00 2001 From: Stian Selnes Date: Fri, 20 Jun 2014 10:59:14 +0200 Subject: [PATCH] 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 --- gst/rtp/gstrtpvp8depay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtp/gstrtpvp8depay.c b/gst/rtp/gstrtpvp8depay.c index 4b22f6d85e..92693ff91a 100644 --- a/gst/rtp/gstrtpvp8depay.c +++ b/gst/rtp/gstrtpvp8depay.c @@ -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;