diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-23 18:45:01 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-11-23 18:45:01 +0000 |
commit | d86a77d8bab8665df180f789a0c16b5607d97dbb (patch) | |
tree | 543376a22bf1a716fc6429e2cce693959cdf570b /libvo | |
parent | cc7e0dae7e0b0fef51da848cf728c5a4defcd310 (diff) | |
download | mpv-d86a77d8bab8665df180f789a0c16b5607d97dbb.tar.bz2 mpv-d86a77d8bab8665df180f789a0c16b5607d97dbb.tar.xz |
Fix indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28004 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_direct3d.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c index a2884010f6..47b2e44fca 100644 --- a/libvo/vo_direct3d.c +++ b/libvo/vo_direct3d.c @@ -302,11 +302,11 @@ static uint32_t render_d3d_frame(mp_image_t *mpi) /* If we're here, then we should lock the rect and copy a packed frame */ if (!priv->locked_rect.pBits) { - if (FAILED(IDirect3DSurface9_LockRect(priv->d3d_surface, - &priv->locked_rect, NULL, 0))) { - mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>Surface lock failure\n"); - return VO_ERROR; - } + if (FAILED(IDirect3DSurface9_LockRect(priv->d3d_surface, + &priv->locked_rect, NULL, 0))) { + mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>Surface lock failure\n"); + return VO_ERROR; + } } memcpy_pic(priv->locked_rect.pBits, mpi->planes[0], mpi->stride[0], @@ -321,8 +321,8 @@ skip_upload: priv->locked_rect.pBits = NULL; if (FAILED(IDirect3DDevice9_BeginScene(priv->d3d_device))) { - mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>BeginScene failed\n"); - return VO_ERROR; + mp_msg(MSGT_VO,MSGL_ERR,"<vo_direct3d>BeginScene failed\n"); + return VO_ERROR; } if (FAILED(IDirect3DDevice9_StretchRect(priv->d3d_device, @@ -607,11 +607,11 @@ static int draw_slice(uint8_t *src[], int stride[], int w,int h,int x,int y ) /* Lock the offscreen surface if it's not already locked. */ if (!priv->locked_rect.pBits) { - if (FAILED(IDirect3DSurface9_LockRect(priv->d3d_surface, - &priv->locked_rect, NULL, 0))) { - mp_msg(MSGT_VO,MSGL_V,"<vo_direct3d>Surface lock failure\n"); - return VO_FALSE; - } + if (FAILED(IDirect3DSurface9_LockRect(priv->d3d_surface, + &priv->locked_rect, NULL, 0))) { + mp_msg(MSGT_VO,MSGL_V,"<vo_direct3d>Surface lock failure\n"); + return VO_FALSE; + } } UVstride = priv->locked_rect.Pitch / 2; |