From 5ae01f10fd0632f217360fe1986e8da4f7d3d6b4 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 12 Jun 2012 10:59:39 +0200 Subject: [PATCH] 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. --- gst/dvdspu/gstdvdspu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index b159e37452..2b253d3d25 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);