diff options
author | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-06-02 18:15:35 +0200 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-06-03 10:09:39 +0200 |
commit | e0df56f25d09b14f5315799338be246806c46806 (patch) | |
tree | c35881b27edc91e98e8f2e4aebc8e5db9aba8efd | |
parent | 79b6c9acd5017d283a888d41fbdb6147878a6bf0 (diff) | |
download | ffmpeg-e0df56f25d09b14f5315799338be246806c46806.tar.gz |
lavc/vaapi_encoder_{h264,h265}: fix bad format warning
-rw-r--r-- | libavcodec/vaapi_encode_h264.c | 2 | ||||
-rw-r--r-- | libavcodec/vaapi_encode_h265.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c index 0a99bb19ae..dc7774b9f1 100644 --- a/libavcodec/vaapi_encode_h264.c +++ b/libavcodec/vaapi_encode_h264.c @@ -769,7 +769,7 @@ static av_cold int vaapi_encode_h264_init_constant_bitrate(AVCodecContext *avctx priv->fixed_qp_p = 26; priv->fixed_qp_b = 26; - av_log(avctx, AV_LOG_DEBUG, "Using constant-bitrate = %d bps.\n", + av_log(avctx, AV_LOG_DEBUG, "Using constant-bitrate = %"PRId64" bps.\n", avctx->bit_rate); return 0; } diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c index 05d3aa41da..17cd900b30 100644 --- a/libavcodec/vaapi_encode_h265.c +++ b/libavcodec/vaapi_encode_h265.c @@ -1196,7 +1196,7 @@ static av_cold int vaapi_encode_h265_init_constant_bitrate(AVCodecContext *avctx priv->fixed_qp_p = 30; priv->fixed_qp_b = 30; - av_log(avctx, AV_LOG_DEBUG, "Using constant-bitrate = %d bps.\n", + av_log(avctx, AV_LOG_DEBUG, "Using constant-bitrate = %"PRId64" bps.\n", avctx->bit_rate); return 0; } |