Skip to content
  • 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.
    e15e038c