[FFmpeg-cvslog] lavc/v4l2: Fix printf format for int64_t

Mark Thompson git at videolan.org
Thu Oct 5 10:58:56 EEST 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Thu Oct  5 01:06:08 2017 +0100| [e01a270762c1b79e10566e5e55a7eb4488b8a25b] | committer: Mark Thompson

lavc/v4l2: Fix printf format for int64_t

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e01a270762c1b79e10566e5e55a7eb4488b8a25b
---

 libavcodec/v4l2_m2m_enc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/v4l2_m2m_enc.c b/libavcodec/v4l2_m2m_enc.c
index b0d5a3bd15..f71ce5fb74 100644
--- a/libavcodec/v4l2_m2m_enc.c
+++ b/libavcodec/v4l2_m2m_enc.c
@@ -180,7 +180,7 @@ static int v4l2_prepare_encoder(V4L2m2mContext *s)
 
     av_log(avctx, AV_LOG_DEBUG,
         "Encoder Context: id (%d), profile (%d), frame rate(%d/%d), number b-frames (%d), "
-        "gop size (%d), bit rate (%ld), qmin (%d), qmax (%d)\n",
+        "gop size (%d), bit rate (%"PRId64"), qmin (%d), qmax (%d)\n",
         avctx->codec_id, avctx->profile, avctx->framerate.num, avctx->framerate.den,
         avctx->max_b_frames, avctx->gop_size, avctx->bit_rate, avctx->qmin, avctx->qmax);
 



More information about the ffmpeg-cvslog mailing list