gst/avi/gstavidemux.c: Chunksize is uint32. Fix format specifier.
authorStefan Kost <ensonic@users.sourceforge.net>
Sat, 15 Mar 2008 22:10:38 +0000 (22:10 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Sat, 15 Mar 2008 22:10:38 +0000 (22:10 +0000)
Original commit message from CVS:
* gst/avi/gstavidemux.c:
Chunksize is uint32. Fix format specifier.

ChangeLog
gst/avi/gstavidemux.c

index 80d649d..06022f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-16  Stefan Kost  <ensonic@users.sf.net>
+
+       * gst/avi/gstavidemux.c:
+         Chunksize is uint32. Fix format specifier.
+
 2008-03-14  Christian Schaller <christian.schaller@collabora.co.uk>
 
        * gst/rtsp/COPYING.MIT: Remove extra line that got copied over by
index 97e8263..ac1f704 100644 (file)
@@ -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);