From 7c356ee83690138060a20b733c7ab1bbc9cef037 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 7 Jun 2019 13:33:32 +0200 Subject: packet: change len field from int to size_t Why not. struct demux_packet doesn't change on 64 bit size due to alignment padding. --- demux/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demux/demux.c') diff --git a/demux/demux.c b/demux/demux.c index b3048aacdd..5e47ce8601 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -1924,7 +1924,7 @@ static void add_packet_locked(struct sh_stream *stream, demux_packet_t *dp) const char *num_pkts = queue->head == queue->tail ? "1" : ">1"; uint64_t fw_bytes = get_foward_buffered_bytes(ds); - MP_TRACE(in, "append packet to %s: size=%d pts=%f dts=%f pos=%"PRIi64" " + MP_TRACE(in, "append packet to %s: size=%zu pts=%f dts=%f pos=%"PRIi64" " "[num=%s size=%zd]\n", stream_type_name(stream->type), dp->len, dp->pts, dp->dts, dp->pos, num_pkts, (size_t)fw_bytes); -- cgit v1.2.3