Browse Source

Original Commit: r52 | ods15 | 2006-09-23 17:38:43 +0300 (Sat, 23 Sep 2006) | 2 lines

correct rangebits for floor

Originally committed as revision 6459 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Oded Shimon 19 years ago
parent
commit
36e09a5144
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vorbis_enc.c

+ 1
- 1
libavcodec/vorbis_enc.c View File

@@ -299,7 +299,7 @@ static void create_vorbis_context(venc_context_t * venc, AVCodecContext * avccon
for (j = 0; j < books; j++) c->books[j] = 0;
}
fc->multiplier = 1;
fc->rangebits = venc->blocksize[0];
fc->rangebits = venc->blocksize[0] - 1;

fc->values = 2;
for (i = 0; i < fc->partitions; i++)


Loading…
Cancel
Save