diff options
author | Benjamin Otte <otte@gnome.org> | 2003-06-14 20:10:13 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-06-14 20:10:13 +0000 |
commit | 158627681845baa479c0f8a931c12447de561699 (patch) | |
tree | 894d7439a5437e7942609cfb87e6ed2783f1f05b | |
parent | f6b5a3f5b61dce0826153961d988da7defdbca02 (diff) | |
download | gst-plugins-bad-158627681845baa479c0f8a931c12447de561699.tar.gz gst-plugins-bad-158627681845baa479c0f8a931c12447de561699.tar.bz2 gst-plugins-bad-158627681845baa479c0f8a931c12447de561699.zip |
gcc 3.3 and ppc fixes
Original commit message from CVS:
gcc 3.3 and ppc fixes
-rw-r--r-- | gst-libs/gst/resample/dtos.c | 3 | ||||
-rw-r--r-- | gst/cdxaparse/gstcdxaparse.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gst-libs/gst/resample/dtos.c b/gst-libs/gst/resample/dtos.c index d3ca4de6..7c0deadc 100644 --- a/gst-libs/gst/resample/dtos.c +++ b/gst-libs/gst/resample/dtos.c @@ -144,7 +144,8 @@ void conv_short_double_ref(short *dest, double *src, int n) } } -#ifdef HAVE_CPU_PPC +/* #ifdef HAVE_CPU_PPC */ +#if 0 void conv_short_double_ppcasm(short *dest, double *src, int n) { int tmp[2]; 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; |