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
pull/126/head
Oded Shimon 19 years ago
parent 4fb432e743
commit 36e09a5144
  1. 2
      libavcodec/vorbis_enc.c

@ -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; for (j = 0; j < books; j++) c->books[j] = 0;
} }
fc->multiplier = 1; fc->multiplier = 1;
fc->rangebits = venc->blocksize[0]; fc->rangebits = venc->blocksize[0] - 1;
fc->values = 2; fc->values = 2;
for (i = 0; i < fc->partitions; i++) for (i = 0; i < fc->partitions; i++)

Loading…
Cancel
Save