summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-10-10 18:54:05 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-10-10 18:54:05 +0000
commitfb148db356d7a3920dc57c0fd7d25974022166fd (patch)
treef5222403a6421b419d8d6af4ea8d04cd3741aab0
parent8f85b12bb4320737409b7445f77dc5c4f9f2692d (diff)
downloadgst-plugins-bad-fb148db356d7a3920dc57c0fd7d25974022166fd.tar.gz
gst-plugins-bad-fb148db356d7a3920dc57c0fd7d25974022166fd.tar.bz2
gst-plugins-bad-fb148db356d7a3920dc57c0fd7d25974022166fd.zip
gst/qtdemux/qtdemux.c: Printf format fixes.
Original commit message from CVS: * gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc), (gst_qtdemux_loop_state_header): Printf format fixes. * sys/dvb/gstdvbsrc.c: Use "_stdint.h".
-rw-r--r--ChangeLog9
-rw-r--r--gst/qtdemux/qtdemux.c6
-rw-r--r--sys/dvb/gstdvbsrc.c2
3 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 5db348bf..d57e295e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2006-10-10 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc),
+ (gst_qtdemux_loop_state_header):
+ Printf format fixes.
+
+ * sys/dvb/gstdvbsrc.c:
+ Use "_stdint.h".
+
2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* sys/dvb/Makefile.am:
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index b07742a0..a376126c 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -1050,7 +1050,7 @@ extract_initial_length_and_fourcc (guint8 * data, guint64 * plength,
guint32 fourcc;
length = GST_READ_UINT32_BE (data);
- GST_DEBUG ("length %08x", length);
+ GST_DEBUG ("length %08" G_GINT64_MODIFIER "x", length);
fourcc = GST_READ_UINT32_LE (data + 4);
GST_DEBUG ("atom type %" GST_FOURCC_FORMAT, GST_FOURCC_ARGS (fourcc));
@@ -1103,8 +1103,8 @@ gst_qtdemux_loop_state_header (GstQTDemux * qtdemux)
goto beach;
if (length != GST_BUFFER_SIZE (moov)) {
GST_WARNING_OBJECT (qtdemux,
- "We got less than expected (received %d, wanted %d)",
- GST_BUFFER_SIZE (moov), length);
+ "We got less than expected (received %u, wanted %u)",
+ GST_BUFFER_SIZE (moov), (guint) length);
ret = GST_FLOW_ERROR;
goto beach;
}
diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c
index a4e1d1fe..6d70ef5f 100644
--- a/sys/dvb/gstdvbsrc.c
+++ b/sys/dvb/gstdvbsrc.c
@@ -32,7 +32,7 @@
#include <error.h>
#include <errno.h>
#include <string.h>
-#include <stdint.h>
+#include "_stdint.h"
#define _XOPEN_SOURCE 500
#include <unistd.h>