[FFmpeg-cvslog] avcodec/dnxhddec: fix -Wformat warning raised by DJGPP
James Almer
git at videolan.org
Tue Apr 11 18:32:03 EEST 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Apr 11 12:08:45 2017 -0300| [2b4cc8d1bbff0cc849cbda1fe37d74f9ea425394] | committer: James Almer
avcodec/dnxhddec: fix -Wformat warning raised by DJGPP
FF_ARRAY_ELEMS returns a size_t value.
Reviewed-by: ubitux
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2b4cc8d1bbff0cc849cbda1fe37d74f9ea425394
---
libavcodec/dnxhddec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index cc24ebd58a..40d41f9bf1 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -315,7 +315,7 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,
if (ctx->mb_height > FF_ARRAY_ELEMS(ctx->mb_scan_index)) {
av_log(ctx->avctx, AV_LOG_ERROR,
- "mb_height too big (%d > %"PRIu64").\n", ctx->mb_height, FF_ARRAY_ELEMS(ctx->mb_scan_index));
+ "mb_height too big (%d > %"SIZE_SPECIFIER").\n", ctx->mb_height, FF_ARRAY_ELEMS(ctx->mb_scan_index));
return AVERROR_INVALIDDATA;
}
More information about the ffmpeg-cvslog
mailing list