Mercurial > mplayer.hg
changeset 3728:499ce786c30d
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 :)
author | pl |
---|---|
date | Tue, 25 Dec 2001 11:45:04 +0000 |
parents | deba2b4fe4b4 |
children | 6cfc308bc74a |
files | libmpdemux/tv.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/tv.c Tue Dec 25 11:40:10 2001 +0000 +++ b/libmpdemux/tv.c Tue Dec 25 11:45:04 2001 +0000 @@ -104,7 +104,7 @@ 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"))