Original Commit: r72 | ods15 | 2006-09-28 21:00:47 +0300 (Thu, 28 Sep 2006) | 2 lines

cosmetic

Originally committed as revision 6477 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Oded Shimon 19 years ago
parent e3df7fc64c
commit 4c588d8e9f
  1. 10
      libavcodec/vorbis_enc.c

@ -834,11 +834,11 @@ static void residue_encode(venc_context_t * venc, residue_t * rc, PutBitContext
assert(!(psize % book->ndimentions)); assert(!(psize % book->ndimentions));
if (rc->type == 0) { if (rc->type == 0) {
for (k = 0; k < psize; k += book->ndimentions) { for (k = 0; k < psize; k += book->ndimentions) {
float * a = put_vector(book, pb, &buf[k]); float * a = put_vector(book, pb, &buf[k]);
int l; int l;
for (l = 0; l < book->ndimentions; l++) buf[k + l] -= a[l]; for (l = 0; l < book->ndimentions; l++) buf[k + l] -= a[l];
} }
} else { } else {
for (k = 0; k < psize; k += book->ndimentions) { for (k = 0; k < psize; k += book->ndimentions) {
int dim = book->ndimentions, s = rc->begin + p * psize, l; int dim = book->ndimentions, s = rc->begin + p * psize, l;

Loading…
Cancel
Save