This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 4300931e232222d549b85bba4745da969000afc1 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Mon Mar 2 02:49:28 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Sat Mar 14 19:31:44 2026 +0100 avcodec/apv_decode: Fix pixel format selection The current code just happens to work for 10 and 12. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/apv_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/apv_decode.c b/libavcodec/apv_decode.c index dbe354a793..3d774d3378 100644 --- a/libavcodec/apv_decode.c +++ b/libavcodec/apv_decode.c @@ -87,7 +87,7 @@ static int apv_decode_check_format(AVCodecContext *avctx, return AVERROR_PATCHWELCOME; } avctx->pix_fmt = - apv_format_table[header->frame_info.chroma_format_idc][bit_depth - 4 >> 2]; + apv_format_table[header->frame_info.chroma_format_idc][(bit_depth - 8) >> 1]; if (!avctx->pix_fmt) { avpriv_request_sample(avctx, "YUVA444P14"); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
