Original Commit: r20 | ods15 | 2006-09-22 13:12:48 +0300 (Fri, 22 Sep 2006) | 2 lines
authorOded Shimon <ods15@ods15.dyndns.org>
Mon, 2 Oct 2006 05:55:49 +0000 (05:55 +0000)
committerOded Shimon <ods15@ods15.dyndns.org>
Mon, 2 Oct 2006 05:55:49 +0000 (05:55 +0000)
cosmetic

Originally committed as revision 6431 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vorbis_enc.c

index 21a93a3..e8f2164 100644 (file)
@@ -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;