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.
This commit is contained in:
Edward Hervey 2012-06-12 10:59:39 +02:00
parent 62b66c1316
commit 5ae01f10fd

View file

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