comparison mov.c @ 6197:d81e41261983 libavformat

In mov demuxer, increase total size after debugging message
author bcoudurier
date Mon, 28 Jun 2010 21:02:16 +0000
parents 1b9079c05f9a
children da46dcc05d4a
comparison
equal deleted inserted replaced
6196:a2e2f11f6124 6197:d81e41261983
263 a.type=0; 263 a.type=0;
264 if(atom.size >= 8) { 264 if(atom.size >= 8) {
265 a.size = get_be32(pb); 265 a.size = get_be32(pb);
266 a.type = get_le32(pb); 266 a.type = get_le32(pb);
267 } 267 }
268 total_size += 8;
269 dprintf(c->fc, "type: %08x '%.4s' parent:'%.4s' sz: %"PRId64" %"PRId64" %"PRId64"\n", 268 dprintf(c->fc, "type: %08x '%.4s' parent:'%.4s' sz: %"PRId64" %"PRId64" %"PRId64"\n",
270 a.type, (char*)&a.type, (char*)&atom.type, a.size, total_size, atom.size); 269 a.type, (char*)&a.type, (char*)&atom.type, a.size, total_size, atom.size);
270 total_size += 8;
271 if (a.size == 1) { /* 64 bit extended size */ 271 if (a.size == 1) { /* 64 bit extended size */
272 a.size = get_be64(pb) - 8; 272 a.size = get_be64(pb) - 8;
273 total_size += 8; 273 total_size += 8;
274 } 274 }
275 if (a.size == 0) { 275 if (a.size == 0) {