diff options
author | James Almer <jamrial@gmail.com> | 2017-04-11 18:08:45 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-04-11 18:31:14 +0300 |
commit | 2b4cc8d1bbff0cc849cbda1fe37d74f9ea425394 (patch) | |
tree | 34ad9fa7b9649835d3eeec78dfec203c2ce3b16d /libavcodec/dnxhddec.c | |
parent | da2fd3f73e88fe5a2956ce6a30e260f288694b9b (diff) |
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@gmail.com>
Diffstat (limited to 'libavcodec/dnxhddec.c')
-rw-r--r-- | libavcodec/dnxhddec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |