diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-04-19 12:53:47 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-04-19 12:53:47 +0000 |
commit | e0977c80452fccbb687e1ad069318cd5c2bbf8ef (patch) | |
tree | 15ca5c615b671e7db1be31254e42df7011b963c5 /libavformat | |
parent | 5c72cad888aa60da92579ee983afa6fe0fded794 (diff) | |
download | ffmpeg-e0977c80452fccbb687e1ad069318cd5c2bbf8ef.tar.gz |
indention
Originally committed as revision 5301 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index e5aa8f3064..dca2f3743e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1498,19 +1498,19 @@ static int mov_read_cmov(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) /* edit list atom */ static int mov_read_elst(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) { - 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 */ - - 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; + 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 */ + + 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[] = { |