Browse Source

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
tags/v0.5
Oded Shimon 19 years ago
parent
commit
491d4dfd6c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/vorbis_enc.c

+ 2
- 1
libavcodec/vorbis_enc.c View File

@@ -218,8 +218,9 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon


venc->nfloors = 1; venc->nfloors = 1;
venc->floors = av_malloc(sizeof(floor_t) * venc->nfloors); venc->floors = av_malloc(sizeof(floor_t) * venc->nfloors);
fc = &venc->floors[0];


// just 1 floor
fc = &venc->floors[0];
fc->partitions = 1; fc->partitions = 1;
fc->partition_to_class = av_malloc(sizeof(int) * fc->partitions); fc->partition_to_class = av_malloc(sizeof(int) * fc->partitions);
for (i = 0; i < fc->partitions; i++) fc->partition_to_class = 0; for (i = 0; i < fc->partitions; i++) fc->partition_to_class = 0;


Loading…
Cancel
Save