aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-30 22:01:22 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-30 22:01:32 +0200
commit5585da7c5e47810b8433f54bea5ff947251b3055 (patch)
tree0a42a5ce72fb26fd37808efec0bd38991248b7af /libavcodec
parentcfcb9f5e3628fc8e768836cd4b9b377c24221cf9 (diff)
parent6f4cd33efb5a9ec75db1677d5f7846c60337129f (diff)
downloadffmpeg-5585da7c5e47810b8433f54bea5ff947251b3055.tar.gz
Merge commit '6f4cd33efb5a9ec75db1677d5f7846c60337129f'
* commit '6f4cd33efb5a9ec75db1677d5f7846c60337129f': cosmetic: Reformat ff_h263_decode_mba Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ituh263dec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c
index 1a17f6e171..f7b84da180 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;
}