packetizer: h2xx: remove alloc/memcpy
Packetized input always contains 1 single NAL. block_Alloc reserves 32 bytes for header, which can be used for AnnexB. In that case it removes almost all allocs+memcpy towards AnnexB conversion, except N-1 extradata NAL In all cases avoid memcpy/alloc for trailing NAL.
Showing
Please register or sign in to comment