[FFmpeg-cvslog] r13920 - trunk/libavcodec/ra144.c

vitor subversion
Mon Jun 23 22:20:29 CEST 2008


Author: vitor
Date: Mon Jun 23 22:20:29 2008
New Revision: 13920

Log:
Remove useless define

Modified:
   trunk/libavcodec/ra144.c

Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c	(original)
+++ trunk/libavcodec/ra144.c	Mon Jun 23 22:20:29 2008
@@ -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(RA144Cont
     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 {




More information about the ffmpeg-cvslog mailing list