Commit e00c516d authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/ituh263dec: Correct indention

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent aecdb14a
...@@ -364,14 +364,14 @@ static void preview_obmc(MpegEncContext *s){ ...@@ -364,14 +364,14 @@ static void preview_obmc(MpegEncContext *s){
/* 16x16 motion prediction */ /* 16x16 motion prediction */
mot_val= ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); mot_val= ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y);
if (s->umvplus) if (s->umvplus)
mx = h263p_decode_umotion(s, pred_x); mx = h263p_decode_umotion(s, pred_x);
else else
mx = ff_h263_decode_motion(s, pred_x, 1); mx = ff_h263_decode_motion(s, pred_x, 1);
if (s->umvplus) if (s->umvplus)
my = h263p_decode_umotion(s, pred_y); my = h263p_decode_umotion(s, pred_y);
else else
my = ff_h263_decode_motion(s, pred_y, 1); my = ff_h263_decode_motion(s, pred_y, 1);
mot_val[0 ]= mot_val[2 ]= mot_val[0 ]= mot_val[2 ]=
mot_val[0+stride]= mot_val[2+stride]= mx; mot_val[0+stride]= mot_val[2+stride]= mx;
...@@ -382,16 +382,16 @@ static void preview_obmc(MpegEncContext *s){ ...@@ -382,16 +382,16 @@ static void preview_obmc(MpegEncContext *s){
for(i=0;i<4;i++) { for(i=0;i<4;i++) {
mot_val = ff_h263_pred_motion(s, i, 0, &pred_x, &pred_y); mot_val = ff_h263_pred_motion(s, i, 0, &pred_x, &pred_y);
if (s->umvplus) if (s->umvplus)
mx = h263p_decode_umotion(s, pred_x); mx = h263p_decode_umotion(s, pred_x);
else else
mx = ff_h263_decode_motion(s, pred_x, 1); mx = ff_h263_decode_motion(s, pred_x, 1);
if (s->umvplus) if (s->umvplus)
my = h263p_decode_umotion(s, pred_y); my = h263p_decode_umotion(s, pred_y);
else else
my = ff_h263_decode_motion(s, pred_y, 1); my = ff_h263_decode_motion(s, pred_y, 1);
if (s->umvplus && (mx - pred_x) == 1 && (my - pred_y) == 1) if (s->umvplus && (mx - pred_x) == 1 && (my - pred_y) == 1)
skip_bits1(&s->gb); /* Bit stuffing to prevent PSC */ skip_bits1(&s->gb); /* Bit stuffing to prevent PSC */
mot_val[0] = mx; mot_val[0] = mx;
mot_val[1] = my; mot_val[1] = my;
} }
...@@ -690,16 +690,16 @@ int ff_h263_decode_mb(MpegEncContext *s, ...@@ -690,16 +690,16 @@ int ff_h263_decode_mb(MpegEncContext *s,
for(i=0;i<4;i++) { for(i=0;i<4;i++) {
mot_val = ff_h263_pred_motion(s, i, 0, &pred_x, &pred_y); mot_val = ff_h263_pred_motion(s, i, 0, &pred_x, &pred_y);
if (s->umvplus) if (s->umvplus)
mx = h263p_decode_umotion(s, pred_x); mx = h263p_decode_umotion(s, pred_x);
else else
mx = ff_h263_decode_motion(s, pred_x, 1); mx = ff_h263_decode_motion(s, pred_x, 1);
if (mx >= 0xffff) if (mx >= 0xffff)
return -1; return -1;
if (s->umvplus) if (s->umvplus)
my = h263p_decode_umotion(s, pred_y); my = h263p_decode_umotion(s, pred_y);
else else
my = ff_h263_decode_motion(s, pred_y, 1); my = ff_h263_decode_motion(s, pred_y, 1);
if (my >= 0xffff) if (my >= 0xffff)
return -1; return -1;
s->mv[0][i][0] = mx; s->mv[0][i][0] = mx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment