This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.0 in repository ffmpeg.
commit 5726879312828736364cb1928440dab84c00f311 Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Sep 7 00:11:34 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Sep 17 01:30:41 2026 +0200 avcodec/vorbisenc: dont assert on non finite input Fixes: #22845 Fixes: Assertion failure Fixes: out of array access Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit e33548ad13fd3495466a651792e8206b1c6f7fd7) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/vorbisenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vorbisenc.c b/libavcodec/vorbisenc.c index ab30dd49ed..0290d38680 100644 --- a/libavcodec/vorbisenc.c +++ b/libavcodec/vorbisenc.c @@ -895,7 +895,7 @@ static int floor_encode(vorbis_enc_context *venc, vorbis_enc_floor *fc, static float *put_vector(vorbis_enc_codebook *book, PutBitContext *pb, float *num) { - int i, entry = -1; + int i, entry = 0; float distance = FLT_MAX; assert(book->dimensions); for (i = 0; i < book->nentries; i++) { -- 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]
