dvdspu: Fix PGS window parsing

Fix a problem introduced in the last PGS parsing patch by skipping
the window count byte after reading it.
This commit is contained in:
Jan Schmidt 2009-11-02 02:48:18 +01:00
parent e5dd78e0ca
commit 454539a10e

View file

@ -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)