aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-21 12:23:34 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-24 12:37:51 +0200
commitb2893ee2f8b204f3d636c25a05d1dc1dd81dfdba (patch)
tree068b5ca0670095f0f71d184e9966ccd400043407
parent57aa765971878ff678abbe3bf1bfd9407b9e5a00 (diff)
downloadffmpeg-b2893ee2f8b204f3d636c25a05d1dc1dd81dfdba.tar.gz
msmpeg4: reindent.
-rw-r--r--libavcodec/msmpeg4.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 84ba1fa76a..c575a2f206 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;