diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-08-19 23:44:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-08-20 00:38:26 +0200 |
commit | 13e9a0fbfb23081d05763d1b19bfad92381cc660 (patch) | |
tree | 3a9bb52bc4dd325a3addae47ab4d388078575d9b /libavcodec | |
parent | 7bdc5de33d21411e5e742670d669d9908d47a1cd (diff) | |
download | ffmpeg-13e9a0fbfb23081d05763d1b19bfad92381cc660.tar.gz |
h264: fixup indention
issue spoted in last merge (probably indention fixed there by diego)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index d644730784..c3f279ccb9 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1852,16 +1852,16 @@ static av_always_inline void hl_decode_mb_internal(H264Context *h, int simple, i } } } else { - for (i = 0; i < block_h; i++) { - uint16_t *tmp_cb = (uint16_t*)(dest_cb + i*uvlinesize); - for (j = 0; j < 8; j++) - tmp_cb[j] = get_bits(&gb, bit_depth); - } - for (i = 0; i < block_h; i++) { - uint16_t *tmp_cr = (uint16_t*)(dest_cr + i*uvlinesize); - for (j = 0; j < 8; j++) - tmp_cr[j] = get_bits(&gb, bit_depth); - } + for (i = 0; i < block_h; i++) { + uint16_t *tmp_cb = (uint16_t*)(dest_cb + i*uvlinesize); + for (j = 0; j < 8; j++) + tmp_cb[j] = get_bits(&gb, bit_depth); + } + for (i = 0; i < block_h; i++) { + uint16_t *tmp_cr = (uint16_t*)(dest_cr + i*uvlinesize); + for (j = 0; j < 8; j++) + tmp_cr[j] = get_bits(&gb, bit_depth); + } } } } else { @@ -1875,10 +1875,10 @@ static av_always_inline void hl_decode_mb_internal(H264Context *h, int simple, i memset(dest_cr+ i*uvlinesize, 1 << (bit_depth - 1), 8); } } else { - for (i=0; i<block_h; i++) { - memcpy(dest_cb+ i*uvlinesize, h->mb + 128 + i*4, 8); - memcpy(dest_cr+ i*uvlinesize, h->mb + 160 + i*4, 8); - } + for (i=0; i<block_h; i++) { + memcpy(dest_cb+ i*uvlinesize, h->mb + 128 + i*4, 8); + memcpy(dest_cr+ i*uvlinesize, h->mb + 160 + i*4, 8); + } } } } |