# HG changeset patch # User bcoudurier # Date 1206098176 0 # Node ID 125b08d2ad59003a48ebbf810f428821eb31f404 # Parent c082ee7573b2747df1bc660ff2435fa5e5209a87 cosmetics, split or move too long lines diff -r c082ee7573b2 -r 125b08d2ad59 mov.c --- a/mov.c Fri Mar 21 11:04:54 2008 +0000 +++ b/mov.c Fri Mar 21 11:16:16 2008 +0000 @@ -642,7 +642,8 @@ entries = get_be32(pb); - for(pseudo_stream_id=0; pseudo_stream_idbytes_per_frame; - dprintf(mov->fc, "AVIndex stream %d, chunk %d, offset %"PRIx64", dts %"PRId64", size %d, " - "duration %d\n", st->index, i, current_offset, current_dts, chunk_size, chunk_duration); + dprintf(mov->fc, "AVIndex stream %d, chunk %d, offset %"PRIx64", dts %"PRId64", " + "size %d, duration %d\n", st->index, i, current_offset, current_dts, + chunk_size, chunk_duration); assert(chunk_duration % sc->time_rate == 0); current_dts += chunk_duration / sc->time_rate; } @@ -1338,7 +1340,8 @@ st->id = (int)get_be32(pb); /* track id (NOT 0 !)*/ get_be32(pb); /* reserved */ st->start_time = 0; /* check */ - (version == 1) ? get_be64(pb) : get_be32(pb); /* highlevel (considering edits) duration in movie timebase */ + /* highlevel (considering edits) duration in movie timebase */ + (version == 1) ? get_be64(pb) : get_be32(pb); get_be32(pb); /* reserved */ get_be32(pb); /* reserved */ @@ -1545,8 +1548,8 @@ MOV_atom_t atom = { 0, 0, 0 }; mov->fc = s; - - if(!url_is_streamed(pb)) /* .mov and .mp4 aren't streamable anyway (only progressive download if moov is before mdat) */ + /* .mov and .mp4 aren't streamable anyway (only progressive download if moov is before mdat) */ + if(!url_is_streamed(pb)) atom.size = url_fsize(pb); else atom.size = INT64_MAX;