Mercurial > libavcodec.hg
diff mpegvideo.c @ 2962:fde28cb7e3d5 libavcodec
use PRIxN, %zd, %td formats where needed
author | mru |
---|---|
date | Mon, 12 Dec 2005 01:56:46 +0000 |
parents | 64f38f1be88f |
children | ef2149182f1c |
line wrap: on
line diff
--- a/mpegvideo.c Mon Dec 12 01:42:06 2005 +0000 +++ b/mpegvideo.c Mon Dec 12 01:56:46 2005 +0000 @@ -2020,7 +2020,7 @@ int64_t last= s->user_specified_pts; if(time <= last){ - av_log(s->avctx, AV_LOG_ERROR, "Error, Invalid timestamp=%Ld, last=%Ld\n", pts, s->user_specified_pts); + av_log(s->avctx, AV_LOG_ERROR, "Error, Invalid timestamp=%"PRId64", last=%"PRId64"\n", pts, s->user_specified_pts); return -1; } } @@ -2029,7 +2029,7 @@ if(s->user_specified_pts != AV_NOPTS_VALUE){ s->user_specified_pts= pts= s->user_specified_pts + 1; - av_log(s->avctx, AV_LOG_INFO, "Warning: AVFrame.pts=? trying to guess (%Ld)\n", pts); + av_log(s->avctx, AV_LOG_INFO, "Warning: AVFrame.pts=? trying to guess (%"PRId64")\n", pts); }else{ pts= pic_arg->display_picture_number; }