summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-10-08 11:25:01 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-10-08 11:25:01 +0000
commit50f563f9279f01a9f2177cac84178b153365f037 (patch)
tree5b594cc603e9e9aa42ef9545672578c174d00f27 /stream
parent77bc2b34b7c8c36d21bee5a48cd73a0e110122f8 (diff)
downloadmpv-50f563f9279f01a9f2177cac84178b153365f037.tar.bz2
mpv-50f563f9279f01a9f2177cac84178b153365f037.tar.xz
cosmetics: Remove some pointless parentheses from return calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29759 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/dvb_tune.c8
-rw-r--r--stream/stream_dvdnav.c6
-rw-r--r--stream/tv.c2
3 files changed, 8 insertions, 8 deletions
diff --git a/stream/dvb_tune.c b/stream/dvb_tune.c
index 8b7bdb7317..214fe871c2 100644
--- a/stream/dvb_tune.c
+++ b/stream/dvb_tune.c
@@ -230,7 +230,7 @@ int dvb_demux_stop(int fd)
mp_msg(MSGT_DEMUX, MSGL_DBG2, "STOPPING FD: %d, RESULT: %d\n", fd, i);
- return (i==0);
+ return i == 0;
}
@@ -241,7 +241,7 @@ int dvb_demux_start(int fd)
mp_msg(MSGT_DEMUX, MSGL_DBG2, "STARTING FD: %d, RESULT: %d\n", fd, i);
- return (i==0);
+ return i == 0;
}
@@ -265,7 +265,7 @@ int dvb_tune(dvb_priv_t *priv, int freq, char pol, int srate, int diseqc, int to
if(ris != 0)
mp_msg(MSGT_DEMUX, MSGL_INFO, "dvb_tune, TUNING FAILED\n");
- return (ris == 0);
+ return ris == 0;
}
@@ -740,5 +740,5 @@ static int tune_it(int fd_frontend, int fd_sec, unsigned int freq, unsigned int
return -1;
}
- return(check_status(fd_frontend, timeout));
+ return check_status(fd_frontend, timeout);
}
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index ea8a28fe5f..13b6c5f144 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -698,11 +698,11 @@ static int mp_dvdnav_get_aid_from_format (stream_t *stream, int index, uint8_t l
format = dvdnav_audio_stream_format(priv->dvdnav, lg);
switch(format) {
case DVDNAV_FORMAT_AC3:
- return (index + 128);
+ return index + 128;
case DVDNAV_FORMAT_DTS:
- return (index + 136);
+ return index + 136;
case DVDNAV_FORMAT_LPCM:
- return (index + 160);
+ return index + 160;
case DVDNAV_FORMAT_MPEGAUDIO:
return index;
default:
diff --git a/stream/tv.c b/stream/tv.c
index 240596b32d..34e184a37f 100644
--- a/stream/tv.c
+++ b/stream/tv.c
@@ -348,7 +348,7 @@ int tv_set_norm_i(tvi_handle_t *tvh, int norm)
}
tvh->functions->control(tvh->priv,TV_VBI_CONTROL_RESET,tvh->tv_param);
- return(1);
+ return 1;
}
static int open_tv(tvi_handle_t *tvh)