mirror of https://git.ffmpeg.org/ffmpeg.git
movenc: Simplify code by using an existing local pointer
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
dad12ce452
commit
e44ee1eb8d
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue