summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-06-23 20:20:29 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-06-23 20:20:29 +0000
commitc31333e10749e60040c2ca5d66d1cc12d8bc851a (patch)
treec188763873d6c466f74fc2935542dc2247c1aaad /libavcodec/ra144.c
parent51062b926b67274ba22a1540bbe387a7ad9925b0 (diff)
Remove useless define
Originally committed as revision 13920 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r--libavcodec/ra144.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index ac6a0b8622..d94bbec1e1 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -25,7 +25,6 @@
#define NBLOCKS 4 /* number of segments within a block */
#define BLOCKSIZE 40 /* (quarter) block size in 16-bit words (80 bytes) */
-#define HALFBLOCK 20 /* BLOCKSIZE/2 */
#define BUFFERSIZE 146 /* for do_output */
@@ -217,7 +216,7 @@ static void do_output_subblock(RA144Context *ractx,
int m[3];
if (cba_idx) {
- cba_idx += HALFBLOCK - 1;
+ cba_idx += BLOCKSIZE/2 - 1;
copy_and_dup(ractx->adapt_cb, buffer_a, cba_idx);
m[0] = irms(buffer_a, gval) >> 12;
} else {