• John Koleszar's avatar
    Pack invisible frames without lengths · 64bcffc1
    John Koleszar authored
    Modify the decoder to return the ending position of the bool decoder and
    use that as the starting position for the next frame.
    The constant-space algorithm for parsing the appended frame lengths is
    O(n^2), which is a potential DoS concern if n is unbounded. Revisit
    the appended lengths for use as partition lengths when multipartition
    support is added.
    In addition, this allows decoding of raw streams outside of a container
    without additional framing information, though it's insufficient to
    be able to remux said stream into a container.
    Change-Id: I71e801a9c3e37abe559a56a597635b0cbae1934b
vp9_cx_iface.c 37.7 KB