summaryrefslogtreecommitdiff
path: root/gst/aiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-08-16 10:02:59 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-08-16 20:32:27 +0100
commit76c0f9bfe77af7dcf7ae60753260925ee8264253 (patch)
treeab9f67b8d3b96402cef9b6177ff1c46f52a79916 /gst/aiff
parentfb2479d1dacc5f05bc9723791cbf1e1ad3f1121c (diff)
downloadgstreamer-plugins-bad-76c0f9bfe77af7dcf7ae60753260925ee8264253.tar.gz
aiffmux: use guint32 for guint32 parameters
This makes explicit that the range is limited. https://bugzilla.gnome.org/show_bug.cgi?id=654278
Diffstat (limited to 'gst/aiff')
-rw-r--r--gst/aiff/aiffmux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/aiff/aiffmux.c b/gst/aiff/aiffmux.c
index 6119cca58..e9f7aa5eb 100644
--- a/gst/aiff/aiffmux.c
+++ b/gst/aiff/aiffmux.c
@@ -160,7 +160,7 @@ gst_aiff_mux_class_init (GstAiffMuxClass * klass)
(AIFF_FORM_HEADER_LEN + AIFF_COMM_HEADER_LEN + AIFF_SSND_HEADER_LEN)
static void
-gst_aiff_mux_write_form_header (GstAiffMux * aiffmux, guint audio_data_size,
+gst_aiff_mux_write_form_header (GstAiffMux * aiffmux, guint32 audio_data_size,
GstByteWriter * writer)
{
/* ckID == 'FORM' */
@@ -228,7 +228,7 @@ gst_aiff_mux_write_ext (GstByteWriter * writer, double d)
*/
static void
-gst_aiff_mux_write_comm_header (GstAiffMux * aiffmux, guint audio_data_size,
+gst_aiff_mux_write_comm_header (GstAiffMux * aiffmux, guint32 audio_data_size,
GstByteWriter * writer)
{
gst_byte_writer_put_uint32_le (writer, GST_MAKE_FOURCC ('C', 'O', 'M', 'M'));
@@ -242,7 +242,7 @@ gst_aiff_mux_write_comm_header (GstAiffMux * aiffmux, guint audio_data_size,
}
static void
-gst_aiff_mux_write_ssnd_header (GstAiffMux * aiffmux, guint audio_data_size,
+gst_aiff_mux_write_ssnd_header (GstAiffMux * aiffmux, guint32 audio_data_size,
GstByteWriter * writer)
{
gst_byte_writer_put_uint32_le (writer, GST_MAKE_FOURCC ('S', 'S', 'N', 'D'));
@@ -255,7 +255,7 @@ gst_aiff_mux_write_ssnd_header (GstAiffMux * aiffmux, guint audio_data_size,
}
static GstFlowReturn
-gst_aiff_mux_push_header (GstAiffMux * aiffmux, guint audio_data_size)
+gst_aiff_mux_push_header (GstAiffMux * aiffmux, guint32 audio_data_size)
{
GstFlowReturn ret;
GstBuffer *outbuf;