Commit fb148db3 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

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".
parent 8f85b12b
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:
......
......@@ -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;
}
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment