summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorChris Watkins <watk@chromium.org>2015-04-21 14:14:19 -0700
committerMichael Niedermayer <michaelni@gmx.at>2015-04-21 23:48:07 +0200
commit0703c44692d1ebd7c530c6f46beae8e4ecafaaa3 (patch)
tree23d198c474f8c4289dc405c1fd1e5bbd4e530be0 /libavformat
parenta79cbc0b8e774b2f9d0cabe33105c5a4f808544b (diff)
avformat/mov.c: Use %d to print an enum, not PRIu8
Using the PRIu8 format specifier to print an enum value causes a compiler warning, so use %d instead. Fixes ticket #4467. Signed-off-by: Chris Watkins <watk@chromium.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 1af8fb6495..0601830a14 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1230,7 +1230,7 @@ static int mov_read_aclr(MOVContext *c, AVIOContext *pb, MOVAtom atom)
av_log(c, AV_LOG_WARNING, "ignored unknown aclr value (%d)\n", range_value);
break;
}
- av_dlog(c, "color_range: %"PRIu8"\n", codec->color_range);
+ av_dlog(c, "color_range: %d\n", codec->color_range);
} else {
/* For some reason the whole atom was not added to the extradata */
av_log(c, AV_LOG_ERROR, "aclr not decoded - incomplete atom\n");