dxtory: Drop nonsense ISO C printf conversion specifiers for standard types

This commit is contained in:
Diego Biurrun 2016-01-11 15:46:46 +01:00
parent c454dfcff9
commit 7a2b2b6a92
1 changed files with 3 additions and 3 deletions

View File

@ -201,12 +201,12 @@ static int check_slice_size(AVCodecContext *avctx,
if (slice_size > src_size - off) { if (slice_size > src_size - off) {
av_log(avctx, AV_LOG_ERROR, av_log(avctx, AV_LOG_ERROR,
"invalid slice size %"PRIu32" (only %"PRIu32" bytes left)\n", "invalid slice size %d (only %d bytes left)\n",
slice_size, src_size - off); slice_size, src_size - off);
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} }
if (slice_size <= 16) { if (slice_size <= 16) {
av_log(avctx, AV_LOG_ERROR, "invalid slice size %"PRIu32"\n", av_log(avctx, AV_LOG_ERROR, "invalid slice size %d\n",
slice_size); slice_size);
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} }
@ -214,7 +214,7 @@ static int check_slice_size(AVCodecContext *avctx,
cur_slice_size = AV_RL32(src + off); cur_slice_size = AV_RL32(src + off);
if (cur_slice_size != slice_size - 16) { if (cur_slice_size != slice_size - 16) {
av_log(avctx, AV_LOG_ERROR, av_log(avctx, AV_LOG_ERROR,
"Slice sizes mismatch: got %"PRIu32" instead of %"PRIu32"\n", "Slice sizes mismatch: got %d instead of %d\n",
cur_slice_size, slice_size - 16); cur_slice_size, slice_size - 16);
} }