Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Conrad <david_conrad@apple.com>2022-06-08 01:06:24 +0300
committerDavid Conrad <david_conrad@apple.com>2022-09-15 03:28:22 +0300
commit673ee2486521446b2500124d4826a84403d2aaca (patch)
treef34b9d57d3c317ba7e0e4089e6a14e45ffc1c4b5
parent2152826bc959466a8eea4b97d8249be634b26171 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/obu.c b/src/obu.c
index 6d06a10..2b04da3 100644
--- a/src/obu.c
+++ b/src/obu.c
@@ -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));