[Ffmpeg-cvslog] r6493 - trunk/libavcodec/vorbis_enc.c

ods15 subversion
Mon Oct 2 08:08:54 CEST 2006


Author: ods15
Date: Mon Oct  2 08:08:53 2006
New Revision: 6493

Modified:
   trunk/libavcodec/vorbis_enc.c

Log:
Original Commit: r88 | ods15 | 2006-09-29 21:10:36 +0300 (Fri, 29 Sep 2006) | 2 lines

slight similification

Modified: trunk/libavcodec/vorbis_enc.c
==============================================================================
--- trunk/libavcodec/vorbis_enc.c	(original)
+++ trunk/libavcodec/vorbis_enc.c	Mon Oct  2 08:08:53 2006
@@ -985,12 +985,12 @@
                         }
                     } else {
                         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 + k, l;
                             float vec[dim], * a = vec;
-                            for (l = s + k; l < s + k + dim; l++)
+                            for (l = s; l < s + dim; l++)
                                 *a++ = coeffs[(l % real_ch) * samples + l / real_ch];
                             a = put_vector(book, pb, vec);
-                            for (l = s + k; l < s + k + dim; l++)
+                            for (l = s; l < s + dim; l++)
                                 coeffs[(l % real_ch) * samples + l / real_ch] -= *a++;
                         }
                     }




More information about the ffmpeg-cvslog mailing list