rtpenc: Merge the h264 and hevc packetizers
They share a great deal of common structure; only a few minor
bits in the headers differ.
This also fixes an off-by-one in sending of the last fragment
of large HEVC nals (where it previously sent len+2 bytes, even
if it should have been len+RTP_HEVC_HEADERS_SIZE aka len+3).
Signed-off-by: NMartin Storsjö <martin@martin.st>
Showing
libavformat/rtpenc_hevc.c
已删除
100644 → 0
想要评论请 注册 或 登录