• Mark Thompson's avatar
    cbs: Refcount all the things! · ce5870a3
    Mark Thompson authored
    This makes it easier for users of the CBS API to get alloc/free right -
    all subelements use the buffer API so that it's clear how to free them.
    It also allows eliding some redundant copies: the packet -> fragment copy
    disappears after this change if the input packet is refcounted, and more
    codec-specific cases are now possible (but not included in this patch).
    ce5870a3
cbs.c 15.3 KB