From: Stefan Kost Date: Sat, 15 Mar 2008 22:10:38 +0000 (+0000) Subject: gst/avi/gstavidemux.c: Chunksize is uint32. Fix format specifier. X-Git-Tag: RELEASE-0_10_8~68 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae0eb4e7ce3b592cd767b6655fef51688b0776c6;p=platform%2Fupstream%2Fgst-plugins-good.git 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. --- diff --git a/ChangeLog b/ChangeLog index 80d649d..06022f9 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 97e8263..ac1f704 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);