From 2209ffacb974db22c8798a9ca9f3754efec41bc4 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Mon, 28 Jun 2010 21:02:16 +0000 Subject: [PATCH] In mov demuxer, increase total size after debugging message Originally committed as revision 23864 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 4b88a6e5d9..99cbbfbe35 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -265,9 +265,9 @@ static int mov_read_default(MOVContext *c, ByteIOContext *pb, MOVAtom atom) a.size = get_be32(pb); a.type = get_le32(pb); } - total_size += 8; dprintf(c->fc, "type: %08x '%.4s' parent:'%.4s' sz: %"PRId64" %"PRId64" %"PRId64"\n", a.type, (char*)&a.type, (char*)&atom.type, a.size, total_size, atom.size); + total_size += 8; if (a.size == 1) { /* 64 bit extended size */ a.size = get_be64(pb) - 8; total_size += 8;