mirror of https://git.ffmpeg.org/ffmpeg.git
indention
Originally committed as revision 5301 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5c72cad888
commit
e0977c8045
|
@ -1498,19 +1498,19 @@ static int mov_read_cmov(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
|
||||||
/* edit list atom */
|
/* edit list atom */
|
||||||
static int mov_read_elst(MOVContext *c, ByteIOContext *pb, MOV_atom_t 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); /* version */
|
||||||
get_byte(pb); get_byte(pb); get_byte(pb); /* flags */
|
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 */
|
edit_count= c->streams[c->fc->nb_streams-1]->edit_count = get_be32(pb); /* entries */
|
||||||
|
|
||||||
for(i=0; i<edit_count; i++){
|
for(i=0; i<edit_count; i++){
|
||||||
get_be32(pb); /* Track duration */
|
get_be32(pb); /* Track duration */
|
||||||
get_be32(pb); /* Media time */
|
get_be32(pb); /* Media time */
|
||||||
get_be32(pb); /* Media rate */
|
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);
|
dprintf("track[%i].edit_count = %i\n", c->fc->nb_streams-1, c->streams[c->fc->nb_streams-1]->edit_count);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const MOVParseTableEntry mov_default_parse_table[] = {
|
static const MOVParseTableEntry mov_default_parse_table[] = {
|
||||||
|
|
Loading…
Reference in New Issue