diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-13 01:15:13 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-13 01:15:20 +0200 |
commit | 094b3ce8356a33f67e705838555be06f5cda383e (patch) | |
tree | ad098bb8c59d4ac9db4a09dee9aaa1ab8fac477f | |
parent | 20a66868a25bf7719e73ba7c6bbbe59a0f7f77b7 (diff) | |
parent | e44ee1eb8db7393e9d43207c2e1812720e292e6d (diff) | |
download | ffmpeg-094b3ce8356a33f67e705838555be06f5cda383e.tar.gz |
Merge commit 'e44ee1eb8db7393e9d43207c2e1812720e292e6d'
* commit 'e44ee1eb8db7393e9d43207c2e1812720e292e6d':
movenc: Simplify code by using an existing local pointer
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 8ca161f959..7b1554ed8f 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -3676,7 +3676,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); |