diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-10-10 18:54:05 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-10-10 18:54:05 +0000 |
commit | fb148db356d7a3920dc57c0fd7d25974022166fd (patch) | |
tree | f5222403a6421b419d8d6af4ea8d04cd3741aab0 | |
parent | 8f85b12bb4320737409b7445f77dc5c4f9f2692d (diff) | |
download | gst-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-- | ChangeLog | 9 | ||||
-rw-r--r-- | gst/qtdemux/qtdemux.c | 6 | ||||
-rw-r--r-- | sys/dvb/gstdvbsrc.c | 2 |
3 files changed, 13 insertions, 4 deletions
@@ -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> |