From 454539a10ea037b018d59a2c2bfef7646c663980 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 2 Nov 2009 02:48:18 +0100 Subject: [PATCH] dvdspu: Fix PGS window parsing Fix a problem introduced in the last PGS parsing patch by skipping the window count byte after reading it. --- gst/dvdspu/gstspu-pgs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/dvdspu/gstspu-pgs.c b/gst/dvdspu/gstspu-pgs.c index 365e0c81a6..b860b290b9 100644 --- a/gst/dvdspu/gstspu-pgs.c +++ b/gst/dvdspu/gstspu-pgs.c @@ -529,6 +529,7 @@ parse_set_window (GstDVDSpu * dvdspu, guint8 type, guint8 * payload, dump_bytes (payload, len); win_count = payload[0]; + payload++; for (i = 0; i < win_count; i++) { if (payload + 9 > end)