From 1de4ba71555fcd2cc3d9bcef004c2c70b475a465 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Wed, 8 Jul 2009 19:31:04 +0000 Subject: [PATCH] Make sure that values generated for ff_vorbis_len2vlc in vorbis_parse_setup_hdr_codebooks are in the valid range (<=32). Originally committed as revision 19373 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vorbis_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vorbis_dec.c b/libavcodec/vorbis_dec.c index d5d2972e8a..bb582c2bf0 100644 --- a/libavcodec/vorbis_dec.c +++ b/libavcodec/vorbis_dec.c @@ -292,7 +292,7 @@ static int vorbis_parse_setup_hdr_codebooks(vorbis_context *vc) { AV_DEBUG(" ordered, current length: %d \n", current_length); //FIXME used_entries=entries; - for(;current_entry