mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
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:
parent
62b66c1316
commit
5ae01f10fd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue