From 668b0ab4f86b11f07a1479468ab4bca2802c821f Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Mon, 12 Sep 2011 10:33:06 +0200 Subject: [PATCH] codecparsers: fix compiler warnings --- gst-libs/gst/codecparsers/gsth264parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/codecparsers/gsth264parser.c b/gst-libs/gst/codecparsers/gsth264parser.c index 29c40f5c8d..1378d3ac51 100644 --- a/gst-libs/gst/codecparsers/gsth264parser.c +++ b/gst-libs/gst/codecparsers/gsth264parser.c @@ -1091,7 +1091,7 @@ gst_h264_parser_parse_pic_timing (GstH264NalParser * nalparser, guint i; READ_UINT8 (nr, tim->pic_struct, 4); - CHECK_ALLOWED (tim->pic_struct, 0, 8); + CHECK_ALLOWED ((gint8) tim->pic_struct, 0, 8); num_clock_num_ts = num_clock_ts_table[tim->pic_struct]; for (i = 0; i < num_clock_num_ts; i++) { @@ -1167,8 +1167,8 @@ gst_h264_parser_identify_nalu (GstH264NalParser * nalparser, gint off1, off2; if (size - offset < 4) { - GST_DEBUG ("Can't parse, buffer has too small size %u, offset %u", size, - offset); + GST_DEBUG ("Can't parse, buffer has too small size %" G_GSSIZE_FORMAT + ", offset %u", size, offset); return GST_H264_PARSER_ERROR; }