From 491d4dfd6c5383078d96818f76c3e6f18d92caea Mon Sep 17 00:00:00 2001 From: Oded Shimon Date: Mon, 2 Oct 2006 05:55:49 +0000 Subject: [PATCH] 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 --- libavcodec/vorbis_enc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.11.0