Commit 668b0ab4 authored by Alessandro Decina's avatar Alessandro Decina

codecparsers: fix compiler warnings

parent 6e987303
......@@ -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;
}
......
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