提交 6e69bf4a 编写于 作者: M Michael Niedermayer

Merge commit '024e5a2d'

* commit '024e5a2d':
  rtmppkt: Repeat the full 32 bit timestamp for chunking continuation packets
Merged-by: NMichael Niedermayer <michaelni@gmx.at>
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册