summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-06-28 21:02:16 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-06-28 21:02:16 +0000
commit2209ffacb974db22c8798a9ca9f3754efec41bc4 (patch)
tree8285ee6668af40fbd7390131e1f45f41d3115b33
parentbb06ec5ef480cd1d056b00d781e9f2803b0db798 (diff)
In mov demuxer, increase total size after debugging message
Originally committed as revision 23864 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
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;