lavf/mov: fix sidx with edit lists

pull/181/merge
Rodger Combs 9 years ago
parent e7345abe05
commit 3617e69d50
  1. 2
      libavformat/mov.c

@ -3610,7 +3610,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); av_log(c->fc, AV_LOG_DEBUG, "calculated into dts %"PRId64"\n", dts);
} else { } else {
dts = frag->time; dts = frag->time - sc->time_offset;
av_log(c->fc, AV_LOG_DEBUG, "found frag time %"PRId64 av_log(c->fc, AV_LOG_DEBUG, "found frag time %"PRId64
", using it for dts\n", dts); ", using it for dts\n", dts);
} }

Loading…
Cancel
Save