From: Oded Shimon Date: Mon, 2 Oct 2006 05:55:49 +0000 (+0000) Subject: Original Commit: r20 | ods15 | 2006-09-22 13:12:48 +0300 (Fri, 22 Sep 2006) | 2 lines X-Git-Tag: v0.5~11671 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=491d4dfd6c5383078d96818f76c3e6f18d92caea;p=coroid%2Fffmpeg_saccubus.git Original Commit: r20 | ods15 | 2006-09-22 13:12:48 +0300 (Fri, 22 Sep 2006) | 2 lines cosmetic Originally committed as revision 6431 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index 21a93a315..e8f2164ff 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -218,8 +218,9 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon venc->nfloors = 1; venc->floors = av_malloc(sizeof(floor_t) * venc->nfloors); - fc = &venc->floors[0]; + // just 1 floor + fc = &venc->floors[0]; fc->partitions = 1; fc->partition_to_class = av_malloc(sizeof(int) * fc->partitions); for (i = 0; i < fc->partitions; i++) fc->partition_to_class = 0;