Pack invisible frames without lengths
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
Showing
- vp9/common/onyxd.h 1 addition, 1 deletionvp9/common/onyxd.h
- vp9/decoder/decodframe.c 8 additions, 1 deletionvp9/decoder/decodframe.c
- vp9/decoder/onyxd_if.c 3 additions, 2 deletionsvp9/decoder/onyxd_if.c
- vp9/decoder/onyxd_int.h 1 addition, 1 deletionvp9/decoder/onyxd_int.h
- vp9/vp9_cx_iface.c 28 additions, 33 deletionsvp9/vp9_cx_iface.c
- vp9/vp9_dx_iface.c 34 additions, 7 deletionsvp9/vp9_dx_iface.c
- vpx/src/vpx_decoder.c 2 additions, 40 deletionsvpx/src/vpx_decoder.c
Loading
Please register or sign in to comment