[FFmpeg-cvslog] avcodec/vulkan_encode_h265: use the proper printf specifier for size_t
James Almer
git at videolan.org
Wed Oct 16 16:16:24 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Oct 16 10:15:43 2024 -0300| [1f7268a44d3334d4605d4bbb865e1ecabef9993a] | committer: James Almer
avcodec/vulkan_encode_h265: use the proper printf specifier for size_t
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1f7268a44d3334d4605d4bbb865e1ecabef9993a
---
libavcodec/vulkan_encode_h265.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/vulkan_encode_h265.c b/libavcodec/vulkan_encode_h265.c
index 6aadbc93fc..cd50f2f756 100644
--- a/libavcodec/vulkan_encode_h265.c
+++ b/libavcodec/vulkan_encode_h265.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/mem.h"
@@ -1313,7 +1314,7 @@ static int init_base_units(AVCodecContext *avctx)
if (!data)
return AVERROR(ENOMEM);
} else {
- av_log(avctx, AV_LOG_ERROR, "Unable to get feedback for H.265 units = %lu\n", data_size);
+ av_log(avctx, AV_LOG_ERROR, "Unable to get feedback for H.265 units = %"SIZE_SPECIFIER"\n", data_size);
return err;
}
More information about the ffmpeg-cvslog
mailing list