diff options
author | Jan Schmidt <thaytan@noraisin.net> | 2009-11-02 02:48:18 +0100 |
---|---|---|
committer | Jan Schmidt <thaytan@noraisin.net> | 2009-11-02 02:48:18 +0100 |
commit | 454539a10ea037b018d59a2c2bfef7646c663980 (patch) | |
tree | eb564281bae6787499db3040cba0dc7aa8788a79 /gst/dvdspu | |
parent | e5dd78e0ca12e527c33fa35479422785a8073cad (diff) |
dvdspu: Fix PGS window parsing
Fix a problem introduced in the last PGS parsing patch by skipping
the window count byte after reading it.
Diffstat (limited to 'gst/dvdspu')
-rw-r--r-- | gst/dvdspu/gstspu-pgs.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |