• Andreas Rheinhardt's avatar
    avcodec/packet_internal: Add proper PacketList struct · d61240f8
    Andreas Rheinhardt authored
    Up until now, we had a PacketList structure which is actually
    a PacketListEntry; a proper PacketList did not exist
    and all the related functions just passed pointers to pointers
    to the head and tail elements around. All these pointers were
    actually consecutive elements of their containing structs,
    i.e. the users already treated them as if they were a struct.
    
    So add a proper PacketList struct and rename the current PacketList
    to PacketListEntry; also make the functions use this structure
    instead of the pair of pointers.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
    d61240f8
movenc_ttml.c 5.21 KB