ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Wed Oct 16 10:14:44 
2024 -0300| [a61517598f8dfc3cd07b84830577eaccfabe3118] | committer: James Almer

avcodec/vulkan_encode_h264: use the proper printf specifier for size_t

Signed-off-by: James Almer <jamr...@gmail.com>

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

 libavcodec/vulkan_encode_h264.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/vulkan_encode_h264.c b/libavcodec/vulkan_encode_h264.c
index a0a00a3db2..cdc87fb4ca 100644
--- a/libavcodec/vulkan_encode_h264.c
+++ b/libavcodec/vulkan_encode_h264.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"
 
@@ -1144,7 +1145,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.264 units = 
%lu\n", data_size);
+        av_log(avctx, AV_LOG_ERROR, "Unable to get feedback for H.264 units = 
%"SIZE_SPECIFIER"\n", data_size);
         return err;
     }
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to