summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-25 11:45:04 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-25 11:45:04 +0000
commitc969b3efb94f6623dd3e699f29c0eb4dad044a2c (patch)
tree8133205e470bfa2eb11da85992d703eefa08d7af /libmpdemux
parenta1e6e858348ead8b71be205159f0d859158f1a4a (diff)
downloadmpv-c969b3efb94f6623dd3e699f29c0eb4dad044a2c.tar.bz2
mpv-c969b3efb94f6623dd3e699f29c0eb4dad044a2c.tar.xz
As nobody fixed this yet:
"tv.c: In function stream_open_tv': tv.c:107: warning: return' with no value, in function returning non-void" According to libmpdemux/open.c 0 is an error so I guess it should return 0 if it fails :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3729 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/tv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/tv.c b/libmpdemux/tv.c
index 7549176722..a76f474146 100644
--- a/libmpdemux/tv.c
+++ b/libmpdemux/tv.c
@@ -104,7 +104,7 @@ int stream_open_tv(stream_t *stream, tvi_handle_t *tvh)
if (funcs->control(tvh->priv, TVI_CONTROL_IS_VIDEO, 0) != TVI_CONTROL_TRUE)
{
mp_msg(MSGT_TV, MSGL_ERR, "Error: no video input present!\n");
- return;
+ return 0;
}
if (!strcasecmp(tv_param_outfmt, "yv12"))