Commit 6e9ca034 authored by James Almer's avatar James Almer

obu: support parsing Redundant Frame Header OBUs

parent 09de524c
......@@ -37,6 +37,7 @@ enum ObuType {
OBU_TILE_GRP = 4,
OBU_METADATA = 5,
OBU_FRAME = 6,
OBU_REDUNDANT_FRAME_HDR = 7,
OBU_PADDING = 15,
};
......
......@@ -1085,6 +1085,9 @@ int dav1d_parse_obus(Dav1dContext *const c, Dav1dData *const in) {
c->tile[c->n_tile_data].start;
c->n_tile_data++;
break;
case OBU_REDUNDANT_FRAME_HDR:
if (!c->have_frame_hdr) goto error;
break;
case OBU_PADDING:
case OBU_TD:
case OBU_METADATA:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment