summaryrefslogtreecommitdiff
path: root/gst/dvdspu
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2012-06-12 10:59:39 +0200
committerEdward Hervey <edward.hervey@collabora.co.uk>2012-06-12 11:02:38 +0200
commit5ae01f10fd0632f217360fe1986e8da4f7d3d6b4 (patch)
tree75901db0f4c27fa5f1077dddcea058445847d3f9 /gst/dvdspu
parent62b66c1316c45700037e6193425212b124287f11 (diff)
dvdspu: Fix array type
We wanted an array of guint8 (and not an array of pointers) to store the data from gst_buffer_extract() and read it.
Diffstat (limited to 'gst/dvdspu')
-rw-r--r--gst/dvdspu/gstdvdspu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c
index b159e3745..2b253d3d2 100644
--- a/gst/dvdspu/gstdvdspu.c
+++ b/gst/dvdspu/gstdvdspu.c
@@ -932,7 +932,7 @@ gst_dvd_spu_subpic_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
switch (dvdspu->spu_input_type) {
case SPU_INPUT_TYPE_VOBSUB:
if (size > 4) {
- guint8 *header[2];
+ guint8 header[2];
guint16 packet_size;
gst_buffer_extract (dvdspu->partial_spu, 0, header, 2);