[FFmpeg-cvslog] ttadec: cosmetics: reindent

Paul B Mahol git at videolan.org
Mon Feb 20 01:42:27 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Feb 18 01:25:46 2012 +0000| [e04ca1d4cea98db33020784834f2473e7ac60395] | committer: Justin Ruggles

ttadec: cosmetics: reindent

Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e04ca1d4cea98db33020784834f2473e7ac60395
---

 libavcodec/tta.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index 6f4d161..269ba86 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;
 



More information about the ffmpeg-cvslog mailing list