Skip to content
Snippets Groups Projects
Commit ae88e9cf authored by Yusuke Nakamura's avatar Yusuke Nakamura Committed by Alex Converse
Browse files

mov: Fix empty edit detection.

parent 8d3d3436
No related branches found
No related tags found
No related merge requests found
......@@ -2193,7 +2193,7 @@ static int mov_read_elst(MOVContext *c, AVIOContext *pb, MOVAtom atom)
time = avio_rb64(pb);
} else {
duration = avio_rb32(pb); /* segment duration */
time = avio_rb32(pb); /* media time */
time = (int32_t)avio_rb32(pb); /* media time */
}
avio_rb32(pb); /* Media rate */
if (i == 0 && time >= -1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment