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".
This commit is contained in:
Tim-Philipp Müller 2006-10-10 18:54:05 +00:00
parent 8f85b12bb4
commit fb148db356
3 changed files with 13 additions and 4 deletions

View file

@ -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:

View file

@ -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;
}

View file

@ -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>