From 4bf50b6af070d6c96108b017fd00aa74f8bcee33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 3 Mar 2013 12:29:42 +0100 Subject: [PATCH] codecparsers: Use correct type specifiers for format strings to fix compiler warnings --- gst-libs/gst/codecparsers/gstmpeg4parser.c | 8 ++++---- gst-libs/gst/codecparsers/gstvc1parser.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gst-libs/gst/codecparsers/gstmpeg4parser.c b/gst-libs/gst/codecparsers/gstmpeg4parser.c index 2af69149b7..5acc4178e0 100644 --- a/gst-libs/gst/codecparsers/gstmpeg4parser.c +++ b/gst-libs/gst/codecparsers/gstmpeg4parser.c @@ -437,7 +437,7 @@ gst_mpeg4_parse (GstMpeg4Packet * packet, gboolean skip_user_data, g_return_val_if_fail (packet != NULL, GST_MPEG4_PARSER_ERROR); if (size - offset <= 4) { - GST_DEBUG ("Can't parse, buffer is to small size %" G_GSSIZE_FORMAT + GST_DEBUG ("Can't parse, buffer is to small size %" G_GSIZE_FORMAT " at offset %d", size, offset); return GST_MPEG4_PARSER_ERROR; } @@ -496,7 +496,7 @@ find_end: packet->size = (gsize) off2 - off1 - 3; } - GST_DEBUG ("Complete packet of type %x found at: %d, Size: %" G_GSSIZE_FORMAT, + GST_DEBUG ("Complete packet of type %x found at: %d, Size: %" G_GSIZE_FORMAT, packet->type, packet->offset, packet->size); return GST_MPEG4_PARSER_OK; @@ -528,7 +528,7 @@ gst_h263_parse (GstMpeg4Packet * packet, g_return_val_if_fail (packet != NULL, GST_MPEG4_PARSER_ERROR); if (size - offset < 3) { - GST_DEBUG ("Can't parse, buffer is to small size %" G_GSSIZE_FORMAT + GST_DEBUG ("Can't parse, buffer is to small size %" G_GSIZE_FORMAT " at offset %d", size, offset); return GST_MPEG4_PARSER_ERROR; } @@ -555,7 +555,7 @@ gst_h263_parse (GstMpeg4Packet * packet, packet->size = (gsize) off2 - off1; - GST_DEBUG ("Complete packet found at: %d, Size: %" G_GSSIZE_FORMAT, + GST_DEBUG ("Complete packet found at: %d, Size: %" G_GSIZE_FORMAT, packet->offset, packet->size); return GST_MPEG4_PARSER_OK; diff --git a/gst-libs/gst/codecparsers/gstvc1parser.c b/gst-libs/gst/codecparsers/gstvc1parser.c index a7ab430add..a890d7802c 100644 --- a/gst-libs/gst/codecparsers/gstvc1parser.c +++ b/gst-libs/gst/codecparsers/gstvc1parser.c @@ -1674,7 +1674,7 @@ gst_vc1_identify_next_bdu (const guint8 * data, gsize size, GstVC1BDU * bdu) g_return_val_if_fail (bdu != NULL, GST_VC1_PARSER_ERROR); if (size < 4) { - GST_DEBUG ("Can't parse, buffer has too small size %" G_GSSIZE_FORMAT, + GST_DEBUG ("Can't parse, buffer has too small size %" G_GSIZE_FORMAT, size); return GST_VC1_PARSER_ERROR; }