[FFmpeg-cvslog] r15214 - trunk/libavcodec/mace.c

vitor subversion
Fri Sep 5 02:01:23 CEST 2008


Author: vitor
Date: Fri Sep  5 02:01:23 2008
New Revision: 15214

Log:
Cosmetics: indent after last commit and remove useless braces

Modified:
   trunk/libavcodec/mace.c

Modified: trunk/libavcodec/mace.c
==============================================================================
--- trunk/libavcodec/mace.c	(original)
+++ trunk/libavcodec/mace.c	Fri Sep  5 02:01:23 2008
@@ -324,14 +324,13 @@ static int mace3_decode_frame(AVCodecCon
 
         ctx->outPtr = samples + i;
 
-        for (j=0; j < buf_size / 2 / avctx->channels; j++) {
+        for (j=0; j < buf_size / 2 / avctx->channels; j++)
             for (k=0; k < 2; k++) {
-            uint8_t pkt = buf[i*2 + j*2*avctx->channels + k];
-            chomp3(ctx, pkt       & 7, MACEtab1, MACEtab2, avctx->channels);
-            chomp3(ctx,(pkt >> 3) & 3, MACEtab3, MACEtab4, avctx->channels);
-            chomp3(ctx, pkt >> 5     , MACEtab1, MACEtab2, avctx->channels);
+                uint8_t pkt = buf[i*2 + j*2*avctx->channels + k];
+                chomp3(ctx, pkt       &7, MACEtab1, MACEtab2, avctx->channels);
+                chomp3(ctx,(pkt >> 3) &3, MACEtab3, MACEtab4, avctx->channels);
+                chomp3(ctx, pkt >> 5    , MACEtab1, MACEtab2, avctx->channels);
             }
-        }
     }
 
     *data_size = 2 * 3 * buf_size;




More information about the ffmpeg-cvslog mailing list