]> git.tue.mpg.de Git - paraslash.git/commitdiff
wma_afh: Kill an unused variable.
authorAndre Noll <maan@systemlinux.org>
Mon, 16 Nov 2009 22:42:16 +0000 (23:42 +0100)
committerAndre Noll <maan@systemlinux.org>
Wed, 18 Nov 2009 18:34:33 +0000 (19:34 +0100)
wma_afh.c

index e78802ee6cd2e6a3d15f75da674923344214d061..f0b73b2965bb07d0e49925bfcc776fddbaefafa8 100644 (file)
--- a/wma_afh.c
+++ b/wma_afh.c
@@ -201,7 +201,7 @@ static int wma_make_chunk_table(char *buf, size_t buf_size, int block_align,
                struct afh_info *afhi)
 {
        const uint8_t *f, *start = (uint8_t *)buf;
-       int i, j, frames_per_chunk;
+       int j, frames_per_chunk;
        size_t ct_size = 250;
        int ret, count = 0, num_frames, num_superframes;
 
@@ -218,7 +218,6 @@ static int wma_make_chunk_table(char *buf, size_t buf_size, int block_align,
                / afhi->frequency;
        frames_per_chunk = num_frames / num_superframes;
        PARA_INFO_LOG("%d frames per chunk\n", frames_per_chunk);
-       i = 0;
        j = 1;
        FOR_EACH_FRAME(f, start, buf_size, block_align) {
                count += f[WMA_FRAME_SKIP] & 0x0f;