Commit 14fd34d7 authored by Michael Niedermayer's avatar Michael Niedermayer

movenc: fix edit list for the case of negative pts.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 015b805d
......@@ -1672,6 +1672,10 @@ static int mov_write_edts_tag(AVIOContext *pb, MOVTrack *track)
avio_wb32(pb, -1);
}
avio_wb32(pb, 0x00010000);
} else {
av_assert0(track->cluster[0].dts <= 0);
start_ct = -track->cluster[0].dts;
duration += delay;
}
/* duration */
......
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