changeset 6197:d81e41261983 libavformat

In mov demuxer, increase total size after debugging message
author bcoudurier
date Mon, 28 Jun 2010 21:02:16 +0000
parents a2e2f11f6124
children 8551432b011a
files mov.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Mon Jun 28 20:37:16 2010 +0000
+++ b/mov.c	Mon Jun 28 21:02:16 2010 +0000
@@ -265,9 +265,9 @@
             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;