summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-03-16 06:46:28 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-03-16 06:46:28 +0000
commit9bf1b2683cc42bfa530aa62b9eb57d5cb9f1edbc (patch)
tree9591b0ab28a96c9b1603aa793886cc9a7e649fe1 /libavformat
parentf584386d545d940bd043f5ca77cc3b21475d393b (diff)
simplify printing
Originally committed as revision 18003 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mov.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index baf47899ae..c3b1e66503 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -329,10 +329,8 @@ static int mov_read_hdlr(MOVContext *c, ByteIOContext *pb, MOVAtom atom)
ctype = get_le32(pb);
type = get_le32(pb); /* component subtype */
- dprintf(c->fc, "ctype= %c%c%c%c (0x%08x)\n", *((char *)&ctype), ((char *)&ctype)[1],
- ((char *)&ctype)[2], ((char *)&ctype)[3], (int) ctype);
- dprintf(c->fc, "stype= %c%c%c%c\n",
- *((char *)&type), ((char *)&type)[1], ((char *)&type)[2], ((char *)&type)[3]);
+ dprintf(c->fc, "ctype= %.4s (0x%08x)\n", (char*)&ctype, ctype);
+ dprintf(c->fc, "stype= %.4s\n", (char*)&type);
if (type == MKTAG('v','i','d','e'))
st->codec->codec_type = CODEC_TYPE_VIDEO;