summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-10-05 01:06:08 +0100
committerMark Thompson <sw@jkqxz.net>2017-10-05 08:58:36 +0100
commite01a270762c1b79e10566e5e55a7eb4488b8a25b (patch)
tree7f8bcd9c44cf0029fadb715621428d5190037d0b
parentc941e99b7f7ba16230aa72e644d519c33004dd47 (diff)
downloadffmpeg-e01a270762c1b79e10566e5e55a7eb4488b8a25b.tar.gz
lavc/v4l2: Fix printf format for int64_t
-rw-r--r--libavcodec/v4l2_m2m_enc.c2
1 files changed, 1 insertions, 1 deletions
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);