git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dad12ce
)
movenc: Simplify code by using an existing local pointer
author
Martin Storsjö
<martin@martin.st>
Sat, 11 Oct 2014 21:14:48 +0000
(
00:14
+0300)
committer
Martin Storsjö
<martin@martin.st>
Sun, 12 Oct 2014 14:48:09 +0000
(17:48 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/movenc.c
patch
|
blob
|
history
diff --git
a/libavformat/movenc.c
b/libavformat/movenc.c
index
66e3c03
..
d8dc62a
100644
(file)
--- a/
libavformat/movenc.c
+++ b/
libavformat/movenc.c
@@
-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);