]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mux.c
Merge commit 'd0a3e89d41b05f9ed0e7401c352b60ed4f4d1ed5'
[ffmpeg] / libavformat / mux.c
index 37b597646445db0541cc7f6b85ebc39e51bdc5cd..c9ef490bd206d8741e9674d05e42ac6d3035e4c9 100644 (file)
@@ -496,7 +496,7 @@ static int compute_pkt_fields2(AVFormatContext *s, AVStream *st, AVPacket *pkt)
             av_ts2str(pkt->pts), av_ts2str(pkt->dts), av_ts2str(st->cur_dts), delay, pkt->size, pkt->stream_index);
 
     if (pkt->duration < 0 && st->codec->codec_type != AVMEDIA_TYPE_SUBTITLE) {
-        av_log(s, AV_LOG_WARNING, "Packet with invalid duration %d in stream %d\n",
+        av_log(s, AV_LOG_WARNING, "Packet with invalid duration %"PRId64" in stream %d\n",
                pkt->duration, pkt->stream_index);
         pkt->duration = 0;
     }