Mercurial > libavcodec.hg
comparison vorbis_enc.c @ 3872:9f99e471bf72 libavcodec
Original Commit: r72 | ods15 | 2006-09-28 21:00:47 +0300 (Thu, 28 Sep 2006) | 2 lines
cosmetic
author | ods15 |
---|---|
date | Mon, 02 Oct 2006 06:08:14 +0000 |
parents | 7fffd3ab056a |
children | 41bddab6a00b |
comparison
equal
deleted
inserted
replaced
3871:7fffd3ab056a | 3872:9f99e471bf72 |
---|---|
832 | 832 |
833 assert(rc->type == 0 || rc->type == 2); | 833 assert(rc->type == 0 || rc->type == 2); |
834 assert(!(psize % book->ndimentions)); | 834 assert(!(psize % book->ndimentions)); |
835 | 835 |
836 if (rc->type == 0) { | 836 if (rc->type == 0) { |
837 for (k = 0; k < psize; k += book->ndimentions) { | 837 for (k = 0; k < psize; k += book->ndimentions) { |
838 float * a = put_vector(book, pb, &buf[k]); | 838 float * a = put_vector(book, pb, &buf[k]); |
839 int l; | 839 int l; |
840 for (l = 0; l < book->ndimentions; l++) buf[k + l] -= a[l]; | 840 for (l = 0; l < book->ndimentions; l++) buf[k + l] -= a[l]; |
841 } | 841 } |
842 } else { | 842 } else { |
843 for (k = 0; k < psize; k += book->ndimentions) { | 843 for (k = 0; k < psize; k += book->ndimentions) { |
844 int dim = book->ndimentions, s = rc->begin + p * psize, l; | 844 int dim = book->ndimentions, s = rc->begin + p * psize, l; |
845 float vec[dim], * pvec = vec, * a; | 845 float vec[dim], * pvec = vec, * a; |
846 for (l = s + k; l < s + k + dim; l++) | 846 for (l = s + k; l < s + k + dim; l++) |