summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-04-20 21:04:22 +0000
committerDavid Schleef <ds@schleef.org>2004-04-20 21:04:22 +0000
commit53a121faa77bf6d22852a0af192c668351a89dfd (patch)
tree5fd74f06e2c0159b169d157d336eadb1c9888a63 /gst-libs/gst
parent04c9892ee6c2fe0025504e94ca3d0025166c0800 (diff)
downloadgst-plugins-bad-53a121faa77bf6d22852a0af192c668351a89dfd.tar.gz
gst-plugins-bad-53a121faa77bf6d22852a0af192c668351a89dfd.tar.bz2
gst-plugins-bad-53a121faa77bf6d22852a0af192c668351a89dfd.zip
configure.ac: bump required gstreamer version to 0.8.1.1 because of following changes [--ds]
Original commit message from CVS: reviewed by David Schleef * configure.ac: bump required gstreamer version to 0.8.1.1 because of following changes [--ds] * gst-libs/gst/riff/riff-read.c: Include gst/gstutils.h. (gst_riff_peek_head, gst_riff_peek_list, gst_riff_read_list) (gst_riff_read_header): Use GST_READ_UINT* macros to access possibly unaligned memory. * gst/typefind/gsttypefindfunctions.c: Include gst/gstutils.h. (mp3_type_find): Use GST_READ_UINT* macros to access possibly unaligned memory. (mp3_type_find, mpeg1_parse_header, qt_type_find) (speex_type_find): Likewise * gst/tags/gstvorbistag.c: (ADVANCE): Likewise * gst/qtdemux/qtdemux.c: Include stdlib.h (needed by realloc). (QTDEMUX_GUINT32_GET, QTDEMUX_GUINT16_GET, QTDEMUX_FP32_GET) (QTDEMUX_FP16_GET, QTDEMUX_FOURCC_GET) (gst_qtdemux_loop_header, gst_qtdemux_loop_header) (qtdemux_node_dump_foreach, qtdemux_tree_get_child_by_type) (qtdemux_tree_get_sibling_by_type): Use GST_READ_UINT* macros to access possibly unaligned memory. * gst/mpegstream/gstmpegpacketize.c: (parse_generic, parse_chunk): Likewise. * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead) (gst_mpeg_demux_parse_packet, gst_mpeg_demux_parse_pes): Likewise. * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain): Likewise. * gst/mpeg2sub/gstmpeg2subt.c: (GST_BUFFER_DATA) (gst_mpeg2subt_chain_subtitle): Likewise. * gst/mpeg1videoparse/gstmp1videoparse.c: (mp1videoparse_parse_seq) (gst_mp1videoparse_time_code, gst_mp1videoparse_real_chain): Likewise. * gst/mpeg1sys/buffer.c: (mpeg1mux_buffer_update_audio_info): Likewise. * gst/cdxaparse/gstcdxaparse.c: (gst_bytestream_peek_bytes): Likewise. * gst/asfdemux/gstasfdemux.c: (_read_var_length, _read_uint): Likewise.
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/riff/riff-read.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c
index a86ec866..fa153e68 100644
--- a/gst-libs/gst/riff/riff-read.c
+++ b/gst-libs/gst/riff/riff-read.c
@@ -24,6 +24,7 @@
#endif
#include <string.h>
+#include <gst/gstutils.h>
#include "riff-ids.h"
#include "riff-read.h"
@@ -173,9 +174,9 @@ gst_riff_peek_head (GstRiffRead * riff,
}
/* parse tag + length (if wanted) */
- *tag = GUINT32_FROM_LE (((guint32 *) data)[0]);
+ *tag = GST_READ_UINT32_LE (data);
if (length)
- *length = GUINT32_FROM_LE (((guint32 *) data)[1]);
+ *length = GST_READ_UINT32_LE (((guint32 *) data) + 1);
/* level */
if (level_up)
@@ -302,7 +303,7 @@ gst_riff_peek_list (GstRiffRead * riff)
return 0;
}
- return GUINT32_FROM_LE (((guint32 *) data)[2]);
+ return GST_READ_UINT32_LE (((guint32 *) data) + 2);
}
/*
@@ -672,7 +673,7 @@ gst_riff_read_list (GstRiffRead * riff, guint32 * tag)
return FALSE;
}
gst_bytestream_flush_fast (riff->bs, 4);
- *tag = GUINT32_FROM_LE (*(guint32 *) data);
+ *tag = GST_READ_UINT32_LE (data);
/* remember level */
level = g_new (GstRiffLevel, 1);
@@ -868,7 +869,7 @@ gst_riff_read_header (GstRiffRead * riff, guint32 * doctype)
return FALSE;
}
gst_bytestream_flush_fast (riff->bs, 4);
- *doctype = GUINT32_FROM_LE (*(guint32 *) data);
+ *doctype = GST_READ_UINT32_LE (data);
/* remember level */
level = g_new (GstRiffLevel, 1);