mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '024e5a2d5ff8a94adce48abb15ce2fb471f9d18e'
* commit '024e5a2d5ff8a94adce48abb15ce2fb471f9d18e': rtmppkt: Repeat the full 32 bit timestamp for chunking continuation packets Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
6e69bf4a7e
|
@ -387,6 +387,13 @@ int ff_rtmp_packet_write(URLContext *h, RTMPPacket *pkt,
|
|||
if ((ret = ffurl_write(h, &marker, 1)) < 0)
|
||||
return ret;
|
||||
written++;
|
||||
if (pkt->ts_field == 0xFFFFFF) {
|
||||
uint8_t ts_header[4];
|
||||
AV_WB32(ts_header, timestamp);
|
||||
if ((ret = ffurl_write(h, ts_header, 4)) < 0)
|
||||
return ret;
|
||||
written += 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
return written;
|
||||
|
|
Loading…
Reference in New Issue