Commit 3a75f6a8 authored by François Grisez's avatar François Grisez
Browse files

Fix one logic error in the Fu making algorithm of the H265 RTP packer.

parent cc38b35a
......@@ -99,7 +99,7 @@ void H265NalPacker::NaluSpliter::feed(mblk_t *nalu) {
naluHeader.setType(H265NaluType::Fu);
while (msgdsize(nalu) > _maxSize) {
ms_queue_put(&_q, makeFu(naluHeader, fuHeader, nalu->b_rptr, msgdsize(nalu)));
ms_queue_put(&_q, makeFu(naluHeader, fuHeader, nalu->b_rptr, _maxSize));
fuHeader.setPosition(H265FuHeader::Position::Middle);
nalu->b_rptr += _maxSize;
}
......
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