diff options
author | Edward Hervey <bilboed@bilboed.com> | 2010-03-11 17:03:47 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2010-03-11 17:04:41 +0100 |
commit | 6dfcee8fdbae835940e931f12efcb9c9e5b31b3a (patch) | |
tree | 5a3e80fe1e01f83d152e51dc2069aa81e57325f4 | |
parent | 8e0a8b30b8fad29138b4919d715bc9adf6922e04 (diff) |
flvdemux: Fix printf formatting for macosx
-rw-r--r-- | gst/flv/gstflvdemux.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c index f152bcbe7..e800211ea 100644 --- a/gst/flv/gstflvdemux.c +++ b/gst/flv/gstflvdemux.c @@ -655,7 +655,7 @@ gst_flv_demux_get_metadata (GstFLVDemux * demux) goto exit; tag_size = GST_READ_UINT32_BE (GST_BUFFER_DATA (buffer)); - GST_DEBUG_OBJECT (demux, "last tag size: %d", tag_size); + GST_DEBUG_OBJECT (demux, "last tag size: %" G_GSIZE_FORMAT, tag_size); gst_buffer_unref (buffer); buffer = NULL; @@ -667,8 +667,9 @@ gst_flv_demux_get_metadata (GstFLVDemux * demux) /* a consistency check */ size = GST_READ_UINT24_BE (GST_BUFFER_DATA (buffer) + 1); if (size != tag_size - 11) { - GST_DEBUG_OBJECT (demux, "tag size %d, expected %d, ", - "corrupt or truncated file", size, tag_size - 11); + GST_DEBUG_OBJECT (demux, + "tag size %" G_GSIZE_FORMAT ", expected %" G_GSIZE_FORMAT + ", corrupt or truncated file", size, tag_size - 11); goto exit; } |