[PATCH v2 3/5] vo_xv: cosmetics: Fix indentation after previous commits
Alexander Strasser <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.devel |
|---|---|
| Message-ID | <e208c5e73f82f61baee2cbb19e4b81e17cdb32ce.1499634736.git.eclipse7@gmx.net> |
Signed-off-by: Alexander Strasser <[email protected]> --- libvo/vo_xv.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c index 783e91d84..a607f8517 100644 --- a/libvo/vo_xv.c +++ b/libvo/vo_xv.c @@ -397,20 +397,20 @@ static int draw_slice(uint8_t * image[], int stride[], int w, int h, case IMGFMT_YV12: idx_p1 = 2; idx_p2 = 1; default: - x /= 2; - y /= 2; - w /= 2; - h /= 2; + x /= 2; + y /= 2; + w /= 2; + h /= 2; - dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] + - xvimage[current_buf]->pitches[1] * y + x; + dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[1] + + xvimage[current_buf]->pitches[1] * y + x; memcpy_pic(dst, image[idx_p1], w, h, xvimage[current_buf]->pitches[1], - stride[idx_p1]); + stride[idx_p1]); - dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[2] + - xvimage[current_buf]->pitches[2] * y + x; + dst = xvimage[current_buf]->data + xvimage[current_buf]->offsets[2] + + xvimage[current_buf]->pitches[2] * y + x; memcpy_pic(dst, image[idx_p2], w, h, xvimage[current_buf]->pitches[2], - stride[idx_p2]); + stride[idx_p2]); break; } @@ -485,14 +485,14 @@ static uint32_t get_image(mp_image_t * mpi) case IMGFMT_YV12: idx_p1 = 2; idx_p2 = 1; default: - mpi->planes[1] = - xvimage[current_buf]->data + - xvimage[current_buf]->offsets[idx_p1]; - mpi->planes[2] = - xvimage[current_buf]->data + - xvimage[current_buf]->offsets[idx_p2]; - mpi->stride[1] = xvimage[current_buf]->pitches[idx_p1]; - mpi->stride[2] = xvimage[current_buf]->pitches[idx_p2]; + mpi->planes[1] = + xvimage[current_buf]->data + + xvimage[current_buf]->offsets[idx_p1]; + mpi->planes[2] = + xvimage[current_buf]->data + + xvimage[current_buf]->offsets[idx_p2]; + mpi->stride[1] = xvimage[current_buf]->pitches[idx_p1]; + mpi->stride[2] = xvimage[current_buf]->pitches[idx_p2]; break; } mpi->flags |= MP_IMGFLAG_DIRECT; -- 2.13.2 Alexander _______________________________________________ MPlayer-dev-eng mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng