ttadec: cosmetics: reindent
authorPaul B Mahol <onemda@gmail.com>
Sat, 18 Feb 2012 01:25:46 +0000 (01:25 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sun, 19 Feb 2012 18:04:10 +0000 (13:04 -0500)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
libavcodec/tta.c

index 6f4d161..269ba86 100644 (file)
@@ -404,10 +404,10 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data,
         // fixed order prediction
 #define PRED(x, k) (int32_t)((((uint64_t)x << k) - x) >> k)
         switch (s->bps) {
-            case 1: *p += PRED(*predictor, 4); break;
-            case 2:
-            case 3: *p += PRED(*predictor, 5); break;
-            case 4: *p += *predictor; break;
+        case 1: *p += PRED(*predictor, 4); break;
+        case 2:
+        case 3: *p += PRED(*predictor, 5); break;
+        case 4: *p +=      *predictor;     break;
         }
         *predictor = *p;