summaryrefslogtreecommitdiffstats
path: root/libvo/mga_common.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/mga_common.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/mga_common.c')
-rw-r--r--libvo/mga_common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index b150b18012..d286f36005 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -368,7 +368,7 @@ static int mga_init(int width,int height,unsigned int format){
mga_vid_config.format=MGA_VID_FORMAT_UYVY; break;
default:
mp_msg(MSGT_VO,MSGL_WARN, MSGTR_LIBVO_MGA_InvalidOutputFormat,format);
- return (-1);
+ return -1;
}
mga_vid_config.src_width = width;
@@ -386,7 +386,7 @@ static int mga_init(int width,int height,unsigned int format){
if(width > 1024 && height > 1024)
{
mp_msg(MSGT_VO,MSGL_ERR, MGSTR_LIBVO_MGA_ResolutionTooHigh);
- return (-1);
+ return -1;
} else if(height <= 1024)
{
// try whether we have a G550
@@ -397,7 +397,7 @@ static int mga_init(int width,int height,unsigned int format){
{
// we don't have a G550, so our resolution is too high
mp_msg(MSGT_VO,MSGL_ERR, MGSTR_LIBVO_MGA_ResolutionTooHigh);
- return (-1);
+ return -1;
} else {
// there is a deeper problem
// we have a G550, but still couldn't configure mga_vid
@@ -457,7 +457,7 @@ static int preinit(const char *vo_subdevice)
{
perror("open");
mp_msg(MSGT_VO,MSGL_WARN, MSGTR_LIBVO_MGA_CouldntOpen,devname);
- return(-1);
+ return -1;
}
#ifdef VO_XMGA