changeset 7106:709ee2a35813 libavcodec

Remove useless define
author vitor
date Mon, 23 Jun 2008 20:20:29 +0000
parents b55bedad89ad
children 1d9f28fe9bd3
files ra144.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ra144.c	Mon Jun 23 20:18:51 2008 +0000
+++ b/ra144.c	Mon Jun 23 20:20:29 2008 +0000
@@ -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 @@
     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 {