diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2016-02-18 12:57:37 -0600 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-04-28 03:47:13 +0200 |
commit | 46e4028e6949e13c6d6403c4a23de61884e0ace7 (patch) | |
tree | a118eb15e1cd9dc9bd0582b418f18b5f27147654 | |
parent | 6fe1f5646e12c53794ccf69f05a32664074be93a (diff) | |
download | ffmpeg-46e4028e6949e13c6d6403c4a23de61884e0ace7.tar.gz |
lavf/mov: fix sidx with edit lists
(cherry picked from commit 3617e69d50dd9dd07b5011dfb9477a9d1a630354)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-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 1f122b4799..2d37d49bb7 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3321,7 +3321,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); } |