mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 06:05:32 +01:00
lavf/mov: fix sidx with edit lists
(cherry picked from commit 3617e69d50)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
82492c3a96
commit
36e5854801
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user