This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit f670006960520169753cc0940e650828ad6b6b2b Author: Andreas Rheinhardt <[email protected]> AuthorDate: Tue Mar 24 11:33:50 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Sat Mar 28 11:25:38 2026 +0100 avcodec/sbcenc: Use correct size for PutBitContext Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/sbcenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/sbcenc.c b/libavcodec/sbcenc.c index 8534dc83ce..6c59a8902c 100644 --- a/libavcodec/sbcenc.c +++ b/libavcodec/sbcenc.c @@ -135,7 +135,7 @@ static size_t sbc_pack_frame(AVPacket *avpkt, struct sbc_frame *frame, crc_header[1] = avpkt->data[2]; crc_pos = 16; - init_put_bits(&pb, avpkt->data + 4, avpkt->size); + init_put_bits(&pb, avpkt->data + 4, avpkt->size - 4); if (frame->mode == JOINT_STEREO) { put_bits(&pb, frame->subbands, joint); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
