[FFmpeg-cvslog] msmpeg4: reindent.

Anton Khirnov git at videolan.org
Wed May 25 06:37:10 CEST 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat May 21 12:23:34 2011 +0200| [b2893ee2f8b204f3d636c25a05d1dc1dd81dfdba] | committer: Anton Khirnov

msmpeg4: reindent.

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

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

diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 84ba1fa..c575a2f 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -846,15 +846,15 @@ static void msmpeg4_encode_dc(MpegEncContext * s, int level, int n, int *dir_ptr
     int pred, extquant;
     int extrabits = 0;
 
-        int16_t *dc_val;
-        pred = msmpeg4_pred_dc(s, n, &dc_val, dir_ptr);
+    int16_t *dc_val;
+    pred = msmpeg4_pred_dc(s, n, &dc_val, dir_ptr);
 
-        /* update predictor */
-        if (n < 4) {
-            *dc_val = level * s->y_dc_scale;
-        } else {
-            *dc_val = level * s->c_dc_scale;
-        }
+    /* update predictor */
+    if (n < 4) {
+        *dc_val = level * s->y_dc_scale;
+    } else {
+        *dc_val = level * s->c_dc_scale;
+    }
 
     /* do the prediction */
     level -= pred;



More information about the ffmpeg-cvslog mailing list