summaryrefslogtreecommitdiff
path: root/libavcodec/ituh263dec.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-06-26 15:57:15 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-06-30 15:34:38 +0200
commit6f4cd33efb5a9ec75db1677d5f7846c60337129f (patch)
tree7afcd2aa5ea45b949027c3440788281e3f1cd685 /libavcodec/ituh263dec.c
parente95c7a61852cc5b9ce5445ff034b87553e61958a (diff)
downloadffmpeg-6f4cd33efb5a9ec75db1677d5f7846c60337129f.tar.gz
cosmetic: Reformat ff_h263_decode_mba
Diffstat (limited to 'libavcodec/ituh263dec.c')
-rw-r--r--libavcodec/ituh263dec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c
index 10dd6c2ae5..b1da22f655 100644
--- a/libavcodec/ituh263dec.c
+++ b/libavcodec/ituh263dec.c
@@ -139,12 +139,12 @@ int ff_h263_decode_mba(MpegEncContext *s)
{
int i, mb_pos;
- for(i=0; i<6; i++){
- if(s->mb_num-1 <= ff_mba_max[i]) break;
- }
- mb_pos= get_bits(&s->gb, ff_mba_length[i]);
- s->mb_x= mb_pos % s->mb_width;
- s->mb_y= mb_pos / s->mb_width;
+ for (i = 0; i < 6; i++)
+ if (s->mb_num - 1 <= ff_mba_max[i])
+ break;
+ mb_pos = get_bits(&s->gb, ff_mba_length[i]);
+ s->mb_x = mb_pos % s->mb_width;
+ s->mb_y = mb_pos / s->mb_width;
return mb_pos;
}