• François Cartegnie's avatar
    packetizer: h2xx: remove alloc/memcpy · e15e038c
    François Cartegnie authored
    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.
hxxx_common.h 1.36 KB