movenc: Simplify code by using an existing local pointer

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2014-10-12 00:14:48 +03:00
parent dad12ce452
commit e44ee1eb8d
1 changed files with 1 additions and 1 deletions

View File

@ -2979,7 +2979,7 @@ static int mov_flush_fragment(AVFormatContext *s)
}
info = &track->frag_info[track->nb_frag_info - 1];
info->offset = avio_tell(s->pb);
info->time = mov->tracks[i].frag_start;
info->time = track->frag_start;
info->duration = duration;
mov_write_tfrf_tags(s->pb, mov, track);