summaryrefslogtreecommitdiffstats
path: root/libavcodec/dxtory.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-01-11 15:46:46 +0100
committerDiego Biurrun <diego@biurrun.de>2016-10-28 13:24:55 +0200
commit7a2b2b6a92c4b528ecb640790eca0aa790d858f4 (patch)
treeaa1ba895f2789d4da20e30b4f18666b47b30073d /libavcodec/dxtory.c
parentc454dfcff90f0ed39c7b0d4e85664986a8b4476c (diff)
downloadffmpeg-streaming-7a2b2b6a92c4b528ecb640790eca0aa790d858f4.zip
ffmpeg-streaming-7a2b2b6a92c4b528ecb640790eca0aa790d858f4.tar.gz
dxtory: Drop nonsense ISO C printf conversion specifiers for standard types
Diffstat (limited to 'libavcodec/dxtory.c')
-rw-r--r--libavcodec/dxtory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/dxtory.c b/libavcodec/dxtory.c
index 937b96c..e2b875b 100644
--- a/libavcodec/dxtory.c
+++ b/libavcodec/dxtory.c
@@ -201,12 +201,12 @@ static int check_slice_size(AVCodecContext *avctx,
if (slice_size > src_size - off) {
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);
return AVERROR_INVALIDDATA;
}
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);
return AVERROR_INVALIDDATA;
}
@@ -214,7 +214,7 @@ static int check_slice_size(AVCodecContext *avctx,
cur_slice_size = AV_RL32(src + off);
if (cur_slice_size != slice_size - 16) {
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);
}
OpenPOWER on IntegriCloud