summaryrefslogtreecommitdiffstats
path: root/stream/tvi_def.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-16 08:43:15 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-16 08:43:15 +0000
commitc6575940499edb3107ec43bf196acde06ebd39c8 (patch)
tree0a619124b9849be34d45a5e78d731305122c58d0 /stream/tvi_def.h
parentad603f5559ce649c6d06d746a7d361d2d0188ad4 (diff)
downloadmpv-c6575940499edb3107ec43bf196acde06ebd39c8.tar.bz2
mpv-c6575940499edb3107ec43bf196acde06ebd39c8.tar.xz
cosmetics: Remove useless parentheses from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26788 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tvi_def.h')
-rw-r--r--stream/tvi_def.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/tvi_def.h b/stream/tvi_def.h
index 7b664a15b9..967c15ee15 100644
--- a/stream/tvi_def.h
+++ b/stream/tvi_def.h
@@ -34,12 +34,12 @@ static tvi_handle_t *new_handle(void)
tvi_handle_t *h = (tvi_handle_t *)malloc(sizeof(tvi_handle_t));
if (!h)
- return(NULL);
+ return NULL;
h->priv = (priv_t *)malloc(sizeof(priv_t));
if (!h->priv)
{
free(h);
- return(NULL);
+ return NULL;
}
memset(h->priv, 0, sizeof(priv_t));
h->functions = &functions;
@@ -49,7 +49,7 @@ static tvi_handle_t *new_handle(void)
h->norm = -1;
h->channel = -1;
h->scan = NULL;
- return(h);
+ return h;
}
static void free_handle(tvi_handle_t *h)