diff options
author | David Conrad <david_conrad@apple.com> | 2022-06-08 01:06:24 +0300 |
---|---|---|
committer | David Conrad <david_conrad@apple.com> | 2022-09-15 03:28:22 +0300 |
commit | 673ee2486521446b2500124d4826a84403d2aaca (patch) | |
tree | f34b9d57d3c317ba7e0e4089e6a14e45ffc1c4b5 | |
parent | 2152826bc959466a8eea4b97d8249be634b26171 (diff) |
Ignore T.35 metadata if the OBU contains no payload
The syntax of itu_t_t35_payload_bytes is not defined in the AV1
specification, but it does state that decoders should ignore the
entire OBU if they do not understand it.
-rw-r--r-- | src/obu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1509,7 +1509,7 @@ int dav1d_parse_obus(Dav1dContext *const c, Dav1dData *const in, const int globa if (payload_size <= 0) { dav1d_log(c, "Malformed ITU-T T.35 metadata message format\n"); - goto error; + break; } Dav1dRef *ref = dav1d_ref_create(sizeof(Dav1dITUTT35) + payload_size * sizeof(uint8_t)); |