summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-12 05:05:01 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-12 05:09:28 +0100
commit1f36ebf63a8d6ffccf4bf286849d77f76aad8b8f (patch)
tree8634ded68e9773a7bd16698208b83b1b2b847f05 /libavformat
parentcd25412f598404e2af9e70038cfc01f344ba043b (diff)
avformat: revert %c changes from d92024f18fa3d69937cb2575f3a8bf973df02430
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/cafdec.c2
-rw-r--r--libavformat/mov.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c
index 04aa4dc563..a8edbca039 100644
--- a/libavformat/cafdec.c
+++ b/libavformat/cafdec.c
@@ -288,7 +288,7 @@ static int read_header(AVFormatContext *s)
default:
#define _(x) ((x) >= ' ' ? (x) : ' ')
av_log(s, AV_LOG_WARNING,
- "skipping CAF chunk: %08"PRIX32" (%"PRIu8"%"PRIu8"%"PRIu8"%"PRIu8"), size %"PRId64"\n",
+ "skipping CAF chunk: %08"PRIX32" (%c%c%c%c), size %"PRId64"\n",
tag, _(tag>>24), _((tag>>16)&0xFF), _((tag>>8)&0xFF), _(tag&0xFF), size);
#undef _
case MKBETAG('f','r','e','e'):
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 7570234673..8220b5a840 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1650,7 +1650,7 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
id = mov_codec_id(st, format);
- av_dlog(c->fc, "size=%"PRId64" 4CC= %"PRIu8"%"PRIu8"%"PRIu8"%"PRIu8" codec_type=%d\n", size,
+ av_dlog(c->fc, "size=%"PRId64" 4CC= %c%c%c%c codec_type=%d\n", size,
(format >> 0) & 0xff, (format >> 8) & 0xff, (format >> 16) & 0xff,
(format >> 24) & 0xff, st->codec->codec_type);