diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2003-08-26 20:19:44 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2003-08-26 20:19:44 +0000 |
commit | c6a4e91afe03b2ff402e27f3edb5bf9b44de75b0 (patch) | |
tree | 7ebd04d1ab2b7b12a8f086c61f5b5cad6700f291 /gst/cdxaparse/gstcdxaparse.c | |
parent | 927a54f816229cab508618add6851c063bacfb9a (diff) | |
download | gst-plugins-bad-c6a4e91afe03b2ff402e27f3edb5bf9b44de75b0.tar.gz gst-plugins-bad-c6a4e91afe03b2ff402e27f3edb5bf9b44de75b0.tar.bz2 gst-plugins-bad-c6a4e91afe03b2ff402e27f3edb5bf9b44de75b0.zip |
closes bug #119105
Original commit message from CVS:
closes bug #119105
Diffstat (limited to 'gst/cdxaparse/gstcdxaparse.c')
-rw-r--r-- | gst/cdxaparse/gstcdxaparse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c index 842d8e29..2154aa54 100644 --- a/gst/cdxaparse/gstcdxaparse.c +++ b/gst/cdxaparse/gstcdxaparse.c @@ -242,6 +242,7 @@ gst_cdxa_parse_loop (GstElement *element) { GstCDXAParse *cdxa_parse; CDXAParseHeader *header; + guint8 *headerdata; g_return_if_fail (element != NULL); g_return_if_fail (GST_IS_CDXA_PARSE (element)); @@ -253,7 +254,8 @@ gst_cdxa_parse_loop (GstElement *element) guint8 *buf; guint32 got_bytes; - got_bytes = gst_bytestream_peek_bytes (cdxa_parse->bs, (guint8**)&header, 20); + got_bytes = gst_bytestream_peek_bytes (cdxa_parse->bs, &headerdata, 20); + header = (CDXAParseHeader *) headerdata; if (got_bytes < 20) return; |