summaryrefslogtreecommitdiff
path: root/libavcodec/txd.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-24 13:29:45 +0100
committerClément Bœsch <u@pkh.me>2017-03-24 13:34:39 +0100
commit46f4f8ad865d4e4d867d14edb44a656318951ec1 (patch)
tree0e85a99befbcfc982b98ebc3ac994fbbdd470ec0 /libavcodec/txd.c
parent1436769c57cc6e5209609073e5fd60776a293669 (diff)
parent1263b2039eb5aaf1522e9de9f07c787ab30a5f50 (diff)
Merge commit '1263b2039eb5aaf1522e9de9f07c787ab30a5f50'
* commit '1263b2039eb5aaf1522e9de9f07c787ab30a5f50': Adjust printf conversion specifiers to match variable signedness Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec/txd.c')
-rw-r--r--libavcodec/txd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/txd.c b/libavcodec/txd.c
index d7fdde0872..9b412a7ae1 100644
--- a/libavcodec/txd.c
+++ b/libavcodec/txd.c
@@ -56,7 +56,7 @@ static int txd_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
flags = bytestream2_get_byte(&gb);
if (version < 8 || version > 9) {
- av_log(avctx, AV_LOG_ERROR, "texture data version %i is unsupported\n",
+ av_log(avctx, AV_LOG_ERROR, "texture data version %u is unsupported\n",
version);
return AVERROR_PATCHWELCOME;
}
@@ -66,7 +66,7 @@ static int txd_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
} else if (depth == 16 || depth == 32) {
avctx->pix_fmt = AV_PIX_FMT_RGBA;
} else {
- av_log(avctx, AV_LOG_ERROR, "depth of %i is unsupported\n", depth);
+ av_log(avctx, AV_LOG_ERROR, "depth of %u is unsupported\n", depth);
return AVERROR_PATCHWELCOME;
}