mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
avformat/flvenc: fix assertion failure after 4h muxing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f128342df2
commit
2e532aa82d
@ -536,7 +536,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
sc->last_ts = ts;
|
||||
|
||||
avio_wb24(pb, size + flags_size);
|
||||
avio_wb24(pb, ts);
|
||||
avio_wb24(pb, ts & 0xFFFFFF);
|
||||
avio_w8(pb, (ts >> 24) & 0x7F); // timestamps are 32 bits _signed_
|
||||
avio_wb24(pb, flv->reserved);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user