summaryrefslogtreecommitdiffstats
path: root/libvo/vo_dga.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-16 08:33:27 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-16 08:33:27 +0000
commitad603f5559ce649c6d06d746a7d361d2d0188ad4 (patch)
tree7254f7dba87b2e215a5c42e5c7e668c60f190e2b /libvo/vo_dga.c
parentc1f5c9bd3fa0b963e1d5d938fc9ffc3fc074e071 (diff)
downloadmpv-ad603f5559ce649c6d06d746a7d361d2d0188ad4.tar.bz2
mpv-ad603f5559ce649c6d06d746a7d361d2d0188ad4.tar.xz
cosmetics: Remove useless parentheses from from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26787 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dga.c')
-rw-r--r--libvo/vo_dga.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libvo/vo_dga.c b/libvo/vo_dga.c
index f194beeef0..eedafb717b 100644
--- a/libvo/vo_dga.c
+++ b/libvo/vo_dga.c
@@ -119,11 +119,11 @@ static int vd_EnableMode(int depth, int bitspp,
static int vd_ModeEqual(int depth, int bitspp,
int rmask, int gmask, int bmask, int index)
{
- return ((vo_dga_modes[index].vdm_depth == depth &&
+ return (vo_dga_modes[index].vdm_depth == depth &&
vo_dga_modes[index].vdm_bitspp == bitspp &&
vo_dga_modes[index].vdm_rmask == rmask &&
vo_dga_modes[index].vdm_gmask == gmask &&
- vo_dga_modes[index].vdm_bmask == bmask) ? 1 : 0);
+ vo_dga_modes[index].vdm_bmask == bmask) ? 1 : 0;
}
@@ -964,7 +964,7 @@ static uint32_t get_image(mp_image_t * mpi)
|| (mpi->type == MP_IMGTYPE_STATIC && vo_dga_nr_video_buffers > 1)
|| (mpi->type == MP_IMGTYPE_IP && vo_dga_nr_video_buffers < 2)
|| (mpi->type == MP_IMGTYPE_IPB))
- return (VO_FALSE);
+ return VO_FALSE;
if ((mpi->flags & MP_IMGFLAG_ACCEPT_STRIDE) ||
(mpi->flags & MP_IMGFLAG_ACCEPT_WIDTH &&
@@ -978,10 +978,10 @@ static uint32_t get_image(mp_image_t * mpi)
mpi->width =
(vo_dga_bytes_per_line + vo_dga_vp_skip) / (mpi->bpp / 8);
mpi->flags |= MP_IMGFLAG_DIRECT;
- return (VO_TRUE);
+ return VO_TRUE;
}
- return (VO_FALSE);
+ return VO_FALSE;
}
static int control(uint32_t request, void *data, ...)