projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62b66c1
)
dvdspu: Fix array type
author
Edward Hervey
<edward.hervey@collabora.co.uk>
Tue, 12 Jun 2012 08:59:39 +0000
(10:59 +0200)
committer
Edward Hervey
<edward.hervey@collabora.co.uk>
Tue, 12 Jun 2012 09:02:38 +0000
(11:02 +0200)
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
patch
|
blob
|
history
diff --git
a/gst/dvdspu/gstdvdspu.c
b/gst/dvdspu/gstdvdspu.c
index b159e37452189597d246c6806fa536963798346d..2b253d3d25bf7d637b2c46a9f6c3731e0a77d4e1 100644
(file)
--- 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);