Mercurial > libavcodec.hg
comparison vorbis_enc.c @ 3873:41bddab6a00b libavcodec
Original Commit: r73 | ods15 | 2006-09-28 21:01:59 +0300 (Thu, 28 Sep 2006) | 2 lines
almost cosmetic, remove redundant variable
author | ods15 |
---|---|
date | Mon, 02 Oct 2006 06:08:16 +0000 |
parents | 9f99e471bf72 |
children | 84890fea8074 |
comparison
equal
deleted
inserted
replaced
3872:9f99e471bf72 | 3873:41bddab6a00b |
---|---|
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], * a = vec; |
846 for (l = s + k; l < s + k + dim; l++) | 846 for (l = s + k; l < s + k + dim; l++) |
847 *pvec++ = coeffs[(l % real_ch) * samples + l / real_ch]; | 847 *a++ = coeffs[(l % real_ch) * samples + l / real_ch]; |
848 a = put_vector(book, pb, vec); | 848 a = put_vector(book, pb, vec); |
849 for (l = s + k; l < s + k + dim; l++) | 849 for (l = s + k; l < s + k + dim; l++) |
850 coeffs[(l % real_ch) * samples + l / real_ch] -= *a++; | 850 coeffs[(l % real_ch) * samples + l / real_ch] -= *a++; |
851 } | 851 } |
852 } | 852 } |