Commit e44ee1eb authored by Martin Storsjö's avatar Martin Storsjö

movenc: Simplify code by using an existing local pointer

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent dad12ce4
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment