Commit 6e69bf4a authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '024e5a2d'

* commit '024e5a2d':
  rtmppkt: Repeat the full 32 bit timestamp for chunking continuation packets
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 330e892c 024e5a2d
......@@ -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;
......
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