aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tta.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-02-18 01:25:46 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-19 13:04:10 -0500
commite04ca1d4cea98db33020784834f2473e7ac60395 (patch)
treea01ebc1d39e119fab8d171b8f1eada6cd2c7c067 /libavcodec/tta.c
parent566df2eea2d8330748e770a7e2ab72df567cd487 (diff)
downloadffmpeg-e04ca1d4cea98db33020784834f2473e7ac60395.tar.gz
ttadec: cosmetics: reindent
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r--libavcodec/tta.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index 6f4d161504..269ba86fd9 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -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;