lavc/vaapi_encoder_{h264,h265}: fix bad format warning
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>
Thu, 2 Jun 2016 16:15:35 +0000 (18:15 +0200)
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>
Fri, 3 Jun 2016 08:09:39 +0000 (10:09 +0200)
libavcodec/vaapi_encode_h264.c
libavcodec/vaapi_encode_h265.c

index 0a99bb1..dc7774b 100644 (file)
@@ -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;
 }
index 05d3aa4..17cd900 100644 (file)
@@ -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;
 }