X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmovenc.c;h=5115585019c908fb12cc72e990ddbbcadc8bf503;hb=3d93ff289e0421d71cd63e246727d8ace256f27d;hp=af03d1e4bb1edb80740a3439b59349b3ea19db48;hpb=27673f1bea1a390785b8c421213bcc53aca969e4;p=ffmpeg diff --git a/libavformat/movenc.c b/libavformat/movenc.c index af03d1e4bb1..5115585019c 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -4317,7 +4317,7 @@ int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt) pkt->pts = AV_NOPTS_VALUE; } if (pkt->duration < 0) { - av_log(s, AV_LOG_ERROR, "Application provided duration: %d is invalid\n", pkt->duration); + av_log(s, AV_LOG_ERROR, "Application provided duration: %"PRId64" is invalid\n", pkt->duration); return AVERROR(EINVAL); } }