aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaolo Bizzarri <pibizza@gmail.com>2015-08-07 21:55:28 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-08-08 01:26:38 +0200
commit1542ec96389f32e5081c6c607e4b6f5e257ccdf2 (patch)
tree1f6ac379884321abbce7b54f6ade0a6ec3c980e0
parent0f562f5b833d603e04123d198c59f8b2b5eb43e4 (diff)
downloadffmpeg-1542ec96389f32e5081c6c607e4b6f5e257ccdf2.tar.gz
cosmetics: Drop spurious spaces from if clauses
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-rw-r--r--libavcodec/vc1_block.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/vc1_block.c b/libavcodec/vc1_block.c
index f9807ab6b1..4588af4100 100644
--- a/libavcodec/vc1_block.c
+++ b/libavcodec/vc1_block.c
@@ -822,11 +822,11 @@ static int vc1_decode_i_block_adv(VC1Context *v, int16_t block[64], int n,
ac_val -= 16 * s->block_wrap[n];
q1 = s->current_picture.qscale_table[mb_pos];
- if ( dc_pred_dir && c_avail && mb_pos)
+ if (dc_pred_dir && c_avail && mb_pos)
q2 = s->current_picture.qscale_table[mb_pos - 1];
if (!dc_pred_dir && a_avail && mb_pos >= s->mb_stride)
q2 = s->current_picture.qscale_table[mb_pos - s->mb_stride];
- if ( dc_pred_dir && n == 1)
+ if (dc_pred_dir && n == 1)
q2 = q1;
if (!dc_pred_dir && n == 2)
q2 = q1;
@@ -1049,7 +1049,7 @@ static int vc1_decode_intra_block(VC1Context *v, int16_t block[64], int n,
q2 = s->current_picture.qscale_table[mb_pos - 1];
if (!dc_pred_dir && a_avail && mb_pos >= s->mb_stride)
q2 = s->current_picture.qscale_table[mb_pos - s->mb_stride];
- if ( dc_pred_dir && n == 1)
+ if (dc_pred_dir && n == 1)
q2 = q1;
if (!dc_pred_dir && n == 2)
q2 = q1;
@@ -2783,7 +2783,7 @@ static void vc1_decode_i_blocks_adv(VC1Context *v)
if (v->fieldtx_is_raw)
v->fieldtx_plane[mb_pos] = get_bits1(&v->s.gb);
cbp = get_vlc2(&v->s.gb, ff_msmp4_mb_i_vlc.table, MB_INTRA_VLC_BITS, 2);
- if ( v->acpred_is_raw)
+ if (v->acpred_is_raw)
v->s.ac_pred = get_bits1(&v->s.gb);
else
v->s.ac_pred = v->acpred_plane[mb_pos];