diff options
author | Peter Ross <pross@xvid.org> | 2024-11-16 19:08:39 +1100 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2024-11-16 19:08:39 +1100 |
commit | 7b3bc4a45ba05918907eb1b49cd661eaf81e69f0 (patch) | |
tree | 1c0e8b4794432e6d83ec03ed40d86968ac06fff0 | |
parent | f7e7d63cbcf3c1409f73ad34830dc533b0f5991b (diff) | |
download | ffmpeg-7b3bc4a45ba05918907eb1b49cd661eaf81e69f0.tar.gz |
avcodec/rv60: consistent indentation
-rw-r--r-- | libavcodec/rv60dec.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/rv60dec.c b/libavcodec/rv60dec.c index a54980f131..64fa72d8f2 100644 --- a/libavcodec/rv60dec.c +++ b/libavcodec/rv60dec.c @@ -309,8 +309,8 @@ static int update_dimensions_clear_info(RV60Context *s, int width, int height) return ret; for (int j = 0; j < s->cu_height << 4; j++) - for (int i = 0; i < s->cu_width << 4; i++) - s->blk_info[j*s->blk_stride + i].mv.mvref = MVREF_NONE; + for (int i = 0; i < s->cu_width << 4; i++) + s->blk_info[j*s->blk_stride + i].mv.mvref = MVREF_NONE; if (s->deblock) { int size; @@ -335,7 +335,7 @@ static int update_dimensions_clear_info(RV60Context *s, int width, int height) static int read_code012(GetBitContext * gb) { if (!get_bits1(gb)) - return 0; + return 0; return get_bits1(gb) + 1; } @@ -1400,10 +1400,10 @@ static void avg_plane(uint8_t * dst, int dst_stride, const uint8_t * src, int sr static void avg(AVFrame * frame, uint8_t * prev_frame_data[3], int prev_frame_linesize[3], int x, int y, int w, int h) { for (int plane = 0; plane < 3; plane++) { - int shift = !plane ? 0 : 1; - avg_plane(frame->data[plane] + (y >> shift) * frame->linesize[plane] + (x >> shift), frame->linesize[plane], - prev_frame_data[plane], prev_frame_linesize[plane], - w >> shift, h >> shift); + int shift = !plane ? 0 : 1; + avg_plane(frame->data[plane] + (y >> shift) * frame->linesize[plane] + (x >> shift), frame->linesize[plane], + prev_frame_data[plane], prev_frame_linesize[plane], + w >> shift, h >> shift); } } @@ -2151,7 +2151,7 @@ static void deblock_cu_r(RV60Context * s, AVFrame * frame, ThreadContext * threa enum CUType cu_type; if (xpos >= s->awidth || ypos >= s->aheight) - return; + return; if (thread->cu_split[thread->cu_split_pos++]) { int hsize = 1 << (log_size - 1); |