This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 29d8c2af4df4cbcea81bad1a44db1e6aea171ff2 Author: James Almer <[email protected]> AuthorDate: Thu Mar 26 17:24:46 2026 -0300 Commit: James Almer <[email protected]> CommitDate: Sat Mar 28 22:07:54 2026 -0300 avcodec/libdav1d: add support for LCEVC ITU-T35 payloads Signed-off-by: James Almer <[email protected]> --- libavcodec/libdav1d.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index 77520744cd..9a9878def2 100644 --- a/libavcodec/libdav1d.c +++ b/libavcodec/libdav1d.c @@ -443,6 +443,31 @@ FF_ENABLE_DEPRECATION_WARNINGS break; } break; + case ITU_T_T35_COUNTRY_CODE_UK: + bytestream2_skipu(&gb, 1); // t35_uk_country_code_second_octet + if (bytestream2_get_bytes_left(&gb) < 2) + return AVERROR_INVALIDDATA; + + provider_code = bytestream2_get_be16u(&gb); + switch (provider_code) { + case ITU_T_T35_PROVIDER_CODE_VNOVA: { + AVFrameSideData *sd; + if (bytestream2_get_bytes_left(&gb) < 2) + return AVERROR_INVALIDDATA; + + res = ff_frame_new_side_data(c, frame, AV_FRAME_DATA_LCEVC, + bytestream2_get_bytes_left(&gb), &sd); + if (res < 0) + return res; + + bytestream2_get_bufferu(&gb, sd->data, sd->size); + break; + } + default: + break; + } + break; + default: // ignore unsupported provider codes break; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
