Commit 36e58548 authored by Rodger Combs's avatar Rodger Combs Committed by Michael Niedermayer

lavf/mov: fix sidx with edit lists

(cherry picked from commit 3617e69d)
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 82492c3a
......@@ -3522,7 +3522,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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment