From 8a678da1fe974bb9910fc38064db61d7eedd58a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 20 May 2010 14:21:19 +0200 Subject: [PATCH] oggdemux: Fix sizes again, this time for real --- ext/ogg/gstoggdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index a3f5e9c1aa..28507ec87a 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -490,8 +490,8 @@ gst_ogg_demux_chain_peer (GstOggPad * pad, ogg_packet * packet, /* We don't push header packets for VP8 */ cret = gst_ogg_demux_combine_flows (ogg, pad, GST_FLOW_OK); goto done; - } else if (packet->b_o_s || (packet->bytes >= 6 - && memcmp (packet->packet, "OVP80", 6) == 0)) { + } else if (packet->b_o_s || (packet->bytes >= 5 + && memcmp (packet->packet, "OVP80", 5) == 0)) { /* We don't push header packets for VP8 */ cret = gst_ogg_demux_combine_flows (ogg, pad, GST_FLOW_OK); goto done;