mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gcc 3.3 and ppc fixes
Original commit message from CVS: gcc 3.3 and ppc fixes
This commit is contained in:
parent
f6b5a3f5b6
commit
1586276818
2 changed files with 5 additions and 2 deletions
|
@ -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];
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue