diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2016-02-18 12:57:37 -0600 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-26 21:52:47 +0100 |
commit | bf8f2fae2ad8498496e21de82299c5d777b03d04 (patch) | |
tree | f6996e03c153f4a7b4a8da636be4541f219d3569 /libavformat | |
parent | 0d7343f8ddf69950de5ce53d203f5d3394256dc0 (diff) | |
download | ffmpeg-bf8f2fae2ad8498496e21de82299c5d777b03d04.tar.gz |
lavf/mov: fix sidx with edit lists
(cherry picked from commit 3617e69d50dd9dd07b5011dfb9477a9d1a630354)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 149e3b4a0e..c5e0a1eb17 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3609,7 +3609,7 @@ static int mov_read_trun(MOVContext *c, AVIOContext *pb, MOVAtom atom) } av_log(c->fc, AV_LOG_DEBUG, "calculated into dts %"PRId64"\n", dts); } else { - dts = frag->time; + dts = frag->time - sc->time_offset; av_log(c->fc, AV_LOG_DEBUG, "found frag time %"PRId64 ", using it for dts\n", dts); } |