From ae0eb4e7ce3b592cd767b6655fef51688b0776c6 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sat, 15 Mar 2008 22:10:38 +0000 Subject: [PATCH] gst/avi/gstavidemux.c: Chunksize is uint32. Fix format specifier. Original commit message from CVS: * gst/avi/gstavidemux.c: Chunksize is uint32. Fix format specifier. --- ChangeLog | 5 +++++ gst/avi/gstavidemux.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 80d649d731..06022f94fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-16 Stefan Kost + + * gst/avi/gstavidemux.c: + Chunksize is uint32. Fix format specifier. + 2008-03-14 Christian Schaller * gst/rtsp/COPYING.MIT: Remove extra line that got copied over by diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 97e8263f94..ac1f70428e 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -1720,7 +1720,7 @@ gst_avi_demux_stream_index (GstAviDemux * avi, guint64 offset = avi->offset; GstBuffer *buf; guint32 tag; - guint size; + guint32 size; gint i; GST_DEBUG ("demux stream index at offset %" G_GUINT64_FORMAT, offset); @@ -1739,7 +1739,7 @@ gst_avi_demux_stream_index (GstAviDemux * avi, tag = GST_READ_UINT32_LE (GST_BUFFER_DATA (buf)); size = GST_READ_UINT32_LE (GST_BUFFER_DATA (buf) + 4); if (tag == GST_RIFF_TAG_LIST) { - GST_WARNING_OBJECT (avi, "skip LIST chunk, size %d", + GST_WARNING_OBJECT (avi, "skip LIST chunk, size %lu", (8 + ((size + 1) & ~1))); offset += 8 + ((size + 1) & ~1); gst_buffer_unref (buf); @@ -1766,7 +1766,7 @@ gst_avi_demux_stream_index (GstAviDemux * avi, avi->sinkpad, &offset, &tag, &buf) != GST_FLOW_OK) return; - GST_INFO ("will parse index chunk size %d for tag %" GST_FOURCC_FORMAT, + GST_INFO ("will parse index chunk size %lu for tag %" GST_FOURCC_FORMAT, GST_BUFFER_SIZE (buf), GST_FOURCC_ARGS (tag)); gst_avi_demux_parse_index (avi, buf, index);