Mercurial > libavformat.hg
changeset 1061:b1ac9677e7f5 libavformat
indention
author | bcoudurier |
---|---|
date | Wed, 19 Apr 2006 12:53:47 +0000 |
parents | ede2bcaaf9e7 |
children | 008ee39dd182 |
files | mov.c |
diffstat | 1 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Wed Apr 19 12:51:58 2006 +0000 +++ b/mov.c Wed Apr 19 12:53:47 2006 +0000 @@ -1498,19 +1498,19 @@ /* edit list atom */ static int mov_read_elst(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) { - int i, edit_count; + int i, edit_count; - get_byte(pb); /* version */ - get_byte(pb); get_byte(pb); get_byte(pb); /* flags */ - edit_count= c->streams[c->fc->nb_streams-1]->edit_count = get_be32(pb); /* entries */ + get_byte(pb); /* version */ + get_byte(pb); get_byte(pb); get_byte(pb); /* flags */ + edit_count= c->streams[c->fc->nb_streams-1]->edit_count = get_be32(pb); /* entries */ - for(i=0; i<edit_count; i++){ - get_be32(pb); /* Track duration */ - get_be32(pb); /* Media time */ - get_be32(pb); /* Media rate */ - } - dprintf("track[%i].edit_count = %i\n", c->fc->nb_streams-1, c->streams[c->fc->nb_streams-1]->edit_count); - return 0; + for(i=0; i<edit_count; i++){ + get_be32(pb); /* Track duration */ + get_be32(pb); /* Media time */ + get_be32(pb); /* Media rate */ + } + dprintf("track[%i].edit_count = %i\n", c->fc->nb_streams-1, c->streams[c->fc->nb_streams-1]->edit_count); + return 0; } static const MOVParseTableEntry mov_default_parse_table[] = {