This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit 173fcfcaab4dfb58c742f6afc23bc3ebcebcb0ab Author: James Almer <[email protected]> AuthorDate: Sun Aug 2 13:33:32 2026 -0300 Commit: James Almer <[email protected]> CommitDate: Mon Nov 23 19:27:41 2026 -0300 avcodec/cbs_lcevc: don't return an error if a Process Block is missing padding bits Samples made following the current (for now) faulty specification may not include alignment bits at the end of VUI parameters, so instead of erroring out, warn about it and keep going. In a writing scenario, like the lcevc_metadata bsf, the output bitstream will be written with them. Signed-off-by: James Almer <[email protected]> (cherry picked from commit 0f7eec026cb79300a460acb49fb03769abfbce5d) --- libavcodec/cbs_lcevc_syntax_template.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavcodec/cbs_lcevc_syntax_template.c b/libavcodec/cbs_lcevc_syntax_template.c index 1e1769d835..cfc7a5c0da 100644 --- a/libavcodec/cbs_lcevc_syntax_template.c +++ b/libavcodec/cbs_lcevc_syntax_template.c @@ -515,7 +515,10 @@ static int FUNC(process_block)(CodedBitstreamContext *ctx, RWContext *rw, if (trailing_bits == 0) { // The trailing bits must contain a payload_bit_equal_to_one, so // they can't all be zero. - return AVERROR_INVALIDDATA; + // Don't error out as encodings following a faulty specification + // syntax trigger this. + av_log(ctx->log_ctx, AV_LOG_DEBUG, "Missing alignment bits in Process Block\n"); + return 0; } trailing_zero_bits = ff_ctz(trailing_bits); current->extension_bit_length = -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
