mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-24 13:43:22 +00:00
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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user