summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-11-29 13:55:40 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-11-29 13:55:40 +0200
commit499c5139bd3ec8be17b84d62095102defea2358e (patch)
tree22d3f5128f7e7688382e0d0fd39dc4f2da65ff6d
parent4ec5daba5fe93703f0a7963b1e69f39035fde26f (diff)
qtdemux: Fix compiler warning
qtdemux.c: In function ‘qtdemux_parse_trak’: qtdemux.c:10184:38: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘gint {aka const int}’ [-Werror=format=] GST_DEBUG_OBJECT (qtdemux, "Found jpeg: len %u, need %lu", len, ^
-rw-r--r--gst/isomp4/qtdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 4bb6a7543..93a194891 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -10181,7 +10181,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
break;
len = QT_UINT32 (jpeg->data);
- GST_DEBUG_OBJECT (qtdemux, "Found jpeg: len %u, need %lu", len,
+ GST_DEBUG_OBJECT (qtdemux, "Found jpeg: len %u, need %d", len,
min_size);
if (len >= min_size) {
gst_byte_reader_init (&br, jpeg->data, len);