# HG changeset patch # User vitor # Date 1211662316 0 # Node ID e62bb30dc9eaa619e6ec640d6d501221278a7732 # Parent 94465a2c3b3450129220ae6d45b6087eba02f01b Remove another useless variable from context diff -r 94465a2c3b34 -r e62bb30dc9ea ra144.c --- a/ra144.c Sat May 24 17:18:42 2008 +0000 +++ b/ra144.c Sat May 24 20:51:56 2008 +0000 @@ -34,7 +34,6 @@ unsigned int oldval; unsigned int gbuf1[4]; unsigned short gbuf2[4][30]; - unsigned int *decptr; /* decoder ptr */ /* the swapped buffers */ unsigned int swapbuffers[4][10]; @@ -246,7 +245,7 @@ short *ptr,*end; signed short *decsp = glob->gbuf2[block_idx]; - *(glob->decptr++) = rms(data, f); + glob->gbuf1[block_idx] = rms(data, f); end = (ptr = decsp) + (n * 10); while (ptr < end) @@ -314,9 +313,6 @@ b = NBLOCKS - a; - if (l == 0) { - glob->decptr = glob->gbuf1; - } ptr1 = inp; ptr2 = inp2; @@ -328,7 +324,7 @@ if (result == 1) { dec1(glob, data, inp, n, f, l); } else { - *(glob->decptr++) = rms(work, f); + glob->gbuf1[l] = rms(work, f); } }