summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-15 10:50:18 +0100
committerDiego Biurrun <diego@biurrun.de>2016-10-28 11:22:21 +0200
commit1263b2039eb5aaf1522e9de9f07c787ab30a5f50 (patch)
tree476a8f24a973d1ed48c1bf0851777d2363008090 /libavformat/rtpenc.c
parentca1e5eea0c7b72a6e30aa6488cfeced3a4853521 (diff)
Adjust printf conversion specifiers to match variable signedness
Diffstat (limited to 'libavformat/rtpenc.c')
-rw-r--r--libavformat/rtpenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index 2cae839e58..f43be2fe87 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -140,7 +140,7 @@ static int rtp_write_header(AVFormatContext *s1)
} else
s1->packet_size = s1->pb->max_packet_size;
if (s1->packet_size <= 12) {
- av_log(s1, AV_LOG_ERROR, "Max packet size %d too low\n", s1->packet_size);
+ av_log(s1, AV_LOG_ERROR, "Max packet size %u too low\n", s1->packet_size);
return AVERROR(EIO);
}
s->buf = av_malloc(s1->packet_size);