[SCM] libav/experimental: Original Commit: r73 | ods15 | 2006-09-28 21:01:59 +0300 (Thu, 28 Sep 2006) | 2 lines

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:51:32 UTC 2013


The following commit has been merged in the experimental branch:
commit 899124aa389bef235872a7fcfe7c94dab57365f2
Author: Oded Shimon <ods15 at ods15.dyndns.org>
Date:   Mon Oct 2 06:08:16 2006 +0000

    Original Commit: r73 | ods15 | 2006-09-28 21:01:59 +0300 (Thu, 28 Sep 2006) | 2 lines
    
    almost cosmetic, remove redundant variable
    
    Originally committed as revision 6478 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c
index 65da73b..fc7aac7 100644
--- a/libavcodec/vorbis_enc.c
+++ b/libavcodec/vorbis_enc.c
@@ -842,9 +842,9 @@ static void residue_encode(venc_context_t * venc, residue_t * rc, PutBitContext
                     } else {
                         for (k = 0; k < psize; k += book->ndimentions) {
                             int dim = book->ndimentions, s = rc->begin + p * psize, l;
-                            float vec[dim], * pvec = vec, * a;
+                            float vec[dim], * a = vec;
                             for (l = s + k; l < s + k + dim; l++)
-                                *pvec++ = coeffs[(l % real_ch) * samples + l / real_ch];
+                                *a++ = coeffs[(l % real_ch) * samples + l / real_ch];
                             a = put_vector(book, pb, vec);
                             for (l = s + k; l < s + k + dim; l++)
                                 coeffs[(l % real_ch) * samples + l / real_ch] -= *a++;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list