]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpenc.c
Merge commit '1263b2039eb5aaf1522e9de9f07c787ab30a5f50'
[ffmpeg] / libavformat / rtpenc.c
index efa63a55753cb404167ad0212f960979705a1943..eee17d07a6bbb16687e05f73dde0b5ad687eaf3e 100644 (file)
@@ -145,7 +145,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);